Mobile theme W.I.P.:

-Avoid loop causing by expose click handler. Fixes expose in filemanager stalls browser
This commit is contained in:
Hadi Nategh 2016-02-11 13:58:11 +00:00
parent 5f1dc422f2
commit 964db76cd6

View File

@ -399,6 +399,7 @@ function expose (widget)
jQuery(this.node).on('click', function(event){
// Do not trigger expose view if one of the operator keys are held
if (!event.altKey && !event.ctrlKey && !event.shiftKey && !event.metaKey) self._init_blueimp_gallery(event, _value);
event.stopImmediatePropagation();
}).addClass('et2_clickable');
}
},