mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:15 +01:00
fix onClick of tree for mobile
This commit is contained in:
parent
2ac4c382b5
commit
4077d48491
@ -97,6 +97,9 @@ export class EgwPopupActionImplementation implements EgwActionImplementation {
|
||||
// Prevent bubbling bound event on <a> tag, on touch devices
|
||||
// a tag should be handled by default event
|
||||
if (window.egwIsMobile() && e.target.tagName == "A") return true;
|
||||
//do not stop bubbling of events if the event is supposed to be handled by the et2-tree
|
||||
if (window.egwIsMobile() && e.target.className == "tree-item__label") return true;
|
||||
|
||||
|
||||
if (typeof document["selection"] != "undefined" && typeof document["selection"].empty != "undefined") {
|
||||
document["selection"].empty();
|
||||
|
Loading…
Reference in New Issue
Block a user