mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
Fix broken widget tree actions because of unexpected DOM Element object
This commit is contained in:
parent
572908e300
commit
af2a2a016e
@ -285,6 +285,13 @@ export function egwPopupActionImplementation()
|
||||
let tapTimeout = null;
|
||||
let startx = 0;
|
||||
let starty = 0;
|
||||
|
||||
//TODO (todo-jquery): ATM we need to convert the possible given jquery dom node object into DOM Element, this
|
||||
// should be no longer neccessary after removing jQuery nodes.
|
||||
if (_node instanceof jQuery)
|
||||
{
|
||||
_node = _node[0];
|
||||
}
|
||||
_node.addEventListener('touchstart', function(e){
|
||||
|
||||
tapTimeout = setTimeout(function(event){
|
||||
|
Loading…
Reference in New Issue
Block a user