mirror of
https://github.com/tenrok/OverlayScrollbars.git
synced 2026-05-17 06:59:40 +03:00
overlayscrollbars v1.13.2
This commit is contained in:
@@ -2,13 +2,13 @@
|
||||
* OverlayScrollbars
|
||||
* https://github.com/KingSora/OverlayScrollbars
|
||||
*
|
||||
* Version: 1.13.0
|
||||
* Version: 1.13.2
|
||||
*
|
||||
* Copyright KingSora | Rene Haas.
|
||||
* https://github.com/KingSora
|
||||
*
|
||||
* Released under the MIT license.
|
||||
* Date: 02.08.2020
|
||||
* Date: 01.06.2022
|
||||
*/
|
||||
|
||||
(function (global, factory) {
|
||||
@@ -2812,7 +2812,12 @@
|
||||
* A callback which will be called after a element has loaded.
|
||||
*/
|
||||
function updateOnLoadCallback(event) {
|
||||
var target = event.target;
|
||||
var elm = FRAMEWORK(event.target);
|
||||
var index = FRAMEWORK.inArray(target, _updateOnLoadElms);
|
||||
if (index > -1) {
|
||||
_updateOnLoadElms.splice(index, 1);
|
||||
}
|
||||
|
||||
eachUpdateOnLoad(function (i, updateOnLoadSelector) {
|
||||
if (elm.is(updateOnLoadSelector)) {
|
||||
@@ -6416,6 +6421,7 @@
|
||||
|
||||
//check if the plugin hasn't to be initialized
|
||||
if (_nativeScrollbarIsOverlaid.x && _nativeScrollbarIsOverlaid.y && !_currentPreparedOptions.nativeScrollbarsOverlaid.initialize) {
|
||||
_initialized = true; // workaround so the onInitializationWithdrawn callback below is fired
|
||||
dispatchCallback('onInitializationWithdrawn');
|
||||
if (_domExists) {
|
||||
setupStructureDOM(true);
|
||||
@@ -6423,6 +6429,7 @@
|
||||
setupScrollbarCornerDOM(true);
|
||||
}
|
||||
|
||||
_initialized = false;
|
||||
_destroyed = true;
|
||||
_sleeping = true;
|
||||
|
||||
|
||||
Vendored
+3
-3
File diff suppressed because one or more lines are too long
@@ -2,13 +2,13 @@
|
||||
* OverlayScrollbars
|
||||
* https://github.com/KingSora/OverlayScrollbars
|
||||
*
|
||||
* Version: 1.13.0
|
||||
* Version: 1.13.2
|
||||
*
|
||||
* Copyright KingSora | Rene Haas.
|
||||
* https://github.com/KingSora
|
||||
*
|
||||
* Released under the MIT license.
|
||||
* Date: 02.08.2020
|
||||
* Date: 01.06.2022
|
||||
*/
|
||||
|
||||
(function (global, factory) {
|
||||
@@ -1729,7 +1729,12 @@
|
||||
* A callback which will be called after a element has loaded.
|
||||
*/
|
||||
function updateOnLoadCallback(event) {
|
||||
var target = event.target;
|
||||
var elm = FRAMEWORK(event.target);
|
||||
var index = FRAMEWORK.inArray(target, _updateOnLoadElms);
|
||||
if (index > -1) {
|
||||
_updateOnLoadElms.splice(index, 1);
|
||||
}
|
||||
|
||||
eachUpdateOnLoad(function (i, updateOnLoadSelector) {
|
||||
if (elm.is(updateOnLoadSelector)) {
|
||||
@@ -5333,6 +5338,7 @@
|
||||
|
||||
//check if the plugin hasn't to be initialized
|
||||
if (_nativeScrollbarIsOverlaid.x && _nativeScrollbarIsOverlaid.y && !_currentPreparedOptions.nativeScrollbarsOverlaid.initialize) {
|
||||
_initialized = true; // workaround so the onInitializationWithdrawn callback below is fired
|
||||
dispatchCallback('onInitializationWithdrawn');
|
||||
if (_domExists) {
|
||||
setupStructureDOM(true);
|
||||
@@ -5340,6 +5346,7 @@
|
||||
setupScrollbarCornerDOM(true);
|
||||
}
|
||||
|
||||
_initialized = false;
|
||||
_destroyed = true;
|
||||
_sleeping = true;
|
||||
|
||||
|
||||
Vendored
+3
-3
File diff suppressed because one or more lines are too long
Generated
+7874
-3486
File diff suppressed because it is too large
Load Diff
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "overlayscrollbars",
|
||||
"version": "1.13.1",
|
||||
"version": "1.13.2",
|
||||
"description": "A javascript scrollbar plugin which hides native scrollbars, provides custom styleable overlay scrollbars and keeps the native functionality and feeling.",
|
||||
"keywords": [
|
||||
"overlayscrollbars",
|
||||
|
||||
Reference in New Issue
Block a user