mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-04 23:17:02 +03:00
Made eslint using 'browser' environment and added globals, because RainLoop is used in browsers.
This also allowed to remove all webpack 'externals' overhead.
This commit is contained in:
parent
c3a213802d
commit
e7180a86ce
81 changed files with 1857 additions and 1259 deletions
8
vendors/lightgallery/src/js/lightgallery.js
vendored
8
vendors/lightgallery/src/js/lightgallery.js
vendored
|
|
@ -176,13 +176,7 @@
|
|||
// Using different namespace for click because click event should not unbind if selector is same object('this')
|
||||
_this.$items.on('click.lgcustom', function(event) {
|
||||
|
||||
// For IE8
|
||||
try {
|
||||
event.preventDefault();
|
||||
event.preventDefault();
|
||||
} catch (er) {
|
||||
event.returnValue = false;
|
||||
}
|
||||
event.preventDefault();
|
||||
|
||||
_this.$el.trigger('onBeforeOpen.lg');
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue