mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-25 12:21:26 +02: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 tapTimeout = null;
|
||||||
let startx = 0;
|
let startx = 0;
|
||||||
let starty = 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){
|
_node.addEventListener('touchstart', function(e){
|
||||||
|
|
||||||
tapTimeout = setTimeout(function(event){
|
tapTimeout = setTimeout(function(event){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user