mirror of
https://github.com/zombieFox/nightTab.git
synced 2024-11-30 12:04:48 +01:00
[bug] fix non standard event path not working in all browsers
This commit is contained in:
parent
de2a755a23
commit
f5c14c26b2
@ -49,7 +49,8 @@ var dropdown = (function() {
|
||||
};
|
||||
|
||||
documentEvent.clickOut = function() {
|
||||
if (!event.path.includes(_currentFormDropdown)) {
|
||||
var path = event.composedPath();
|
||||
if (!path.includes(_currentFormDropdown)) {
|
||||
close();
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user