mirror of
https://github.com/tenrok/OverlayScrollbars.git
synced 2026-06-21 13:20:37 +03:00
version 1.4.4
This commit is contained in:
@@ -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
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
Vendored
+2
-2
File diff suppressed because one or more lines are too long
+22
-18
@@ -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) { }
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Vendored
+3
-3
File diff suppressed because one or more lines are too long
@@ -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) {
|
||||||
|
|||||||
Vendored
+2
-2
File diff suppressed because one or more lines are too long
+1
-1
@@ -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",
|
||||||
|
|||||||
Reference in New Issue
Block a user