version 1.4.4

This commit is contained in:
Rene
2018-05-06 10:02:38 +02:00
parent 47442f91b2
commit 5a828e8d82
7 changed files with 34 additions and 30 deletions
+2 -2
View File
@@ -2,13 +2,13 @@
* OverlayScrollbars * OverlayScrollbars
* https://github.com/KingSora/OverlayScrollbars * https://github.com/KingSora/OverlayScrollbars
* *
* Version: 1.4.3 * Version: 1.4.4
* *
* Copyright KingSora. * Copyright KingSora.
* https://github.com/KingSora * https://github.com/KingSora
* *
* Released under the MIT license. * Released under the MIT license.
* Date: 17.04.2018 * Date: 06.05.2018
*/ */
/* /*
+2 -2
View File
File diff suppressed because one or more lines are too long
+22 -18
View File
@@ -2,13 +2,13 @@
* OverlayScrollbars * OverlayScrollbars
* https://github.com/KingSora/OverlayScrollbars * https://github.com/KingSora/OverlayScrollbars
* *
* Version: 1.4.3 * Version: 1.4.4
* *
* Copyright KingSora. * Copyright KingSora.
* https://github.com/KingSora * https://github.com/KingSora
* *
* Released under the MIT license. * Released under the MIT license.
* Date: 17.04.2018 * Date: 06.05.2018
*/ */
(function (global, factory) { (function (global, factory) {
@@ -906,14 +906,16 @@
var el; var el;
return this.each(function() { return this.each(function() {
el = this; el = this;
if (el.addEventListener) { try {
for (i = 0; i < eventName.length; i++) if (el.addEventListener) {
el.addEventListener(eventName[i], handler); for (i = 0; i < eventName.length; i++)
} el.addEventListener(eventName[i], handler);
else if(el.detachEvent) { }
for (i = 0; i < eventName.length; i++) else if(el.detachEvent) {
el.attachEvent('on' + eventName[i], handler); for (i = 0; i < eventName.length; i++)
} el.attachEvent('on' + eventName[i], handler);
}
} catch (e) { }
}); });
}, },
@@ -924,14 +926,16 @@
var el; var el;
return this.each(function() { return this.each(function() {
el = this; el = this;
if (el.removeEventListener) { try {
for (i = 0; i < eventName.length; i++) if (el.removeEventListener) {
el.removeEventListener(eventName[i], handler); for (i = 0; i < eventName.length; i++)
} el.removeEventListener(eventName[i], handler);
else if(el.detachEvent) { }
for (i = 0; i < eventName.length; i++) else if(el.detachEvent) {
el.detachEvent('on' + eventName[i], handler); for (i = 0; i < eventName.length; i++)
} el.detachEvent('on' + eventName[i], handler);
}
} catch (e) { }
}); });
}, },
+3 -3
View File
File diff suppressed because one or more lines are too long
+2 -2
View File
@@ -2,13 +2,13 @@
* OverlayScrollbars * OverlayScrollbars
* https://github.com/KingSora/OverlayScrollbars * https://github.com/KingSora/OverlayScrollbars
* *
* Version: 1.4.3 * Version: 1.4.4
* *
* Copyright KingSora. * Copyright KingSora.
* https://github.com/KingSora * https://github.com/KingSora
* *
* Released under the MIT license. * Released under the MIT license.
* Date: 17.04.2018 * Date: 06.05.2018
*/ */
(function (global, factory) { (function (global, factory) {
+2 -2
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "overlayscrollbars", "name": "overlayscrollbars",
"version": "1.4.3", "version": "1.4.4",
"description": "A javascript scrollbar plugin which hides the native scrollbars and provides custom styleable overlay scrollbars, but keeps the native functionality and feeling.", "description": "A javascript scrollbar plugin which hides the native scrollbars and provides custom styleable overlay scrollbars, but keeps the native functionality and feeling.",
"keywords" : [ "keywords" : [
"overlayscrollbars", "overlayscrollbars",