version 1.13.3

This commit is contained in:
Rene Haas
2022-07-20 11:10:51 +02:00
parent 631742104e
commit 34a1dc5dc3
7 changed files with 48 additions and 44 deletions
+10 -10
View File
@@ -363,19 +363,19 @@ object.os-resize-observer {
}
@-webkit-keyframes os-resize-observer-dummy-animation {
from {
z-index: 0;
}
to {
z-index: -1;
}
cursor: auto;
}
to {
cursor: none;
}
}
@keyframes os-resize-observer-dummy-animation {
from {
z-index: 0;
}
to {
z-index: -1;
}
cursor: auto;
}
to {
cursor: none;
}
}
/*
+1 -1
View File
File diff suppressed because one or more lines are too long
+15 -13
View File
@@ -2,13 +2,13 @@
* OverlayScrollbars
* https://github.com/KingSora/OverlayScrollbars
*
* Version: 1.13.2
* Version: 1.13.3
*
* Copyright KingSora | Rene Haas.
* https://github.com/KingSora
*
* Released under the MIT license.
* Date: 01.06.2022
* Date: 20.07.2022
*/
(function (global, factory) {
@@ -2812,18 +2812,20 @@
* 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);
}
if (!_destroyed) {
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)) {
update({ _contentSizeChanged: true });
}
});
eachUpdateOnLoad(function (i, updateOnLoadSelector) {
if (elm.is(updateOnLoadSelector)) {
update({ _contentSizeChanged: true });
}
});
}
}
/**
+3 -3
View File
File diff suppressed because one or more lines are too long
+15 -13
View File
@@ -2,13 +2,13 @@
* OverlayScrollbars
* https://github.com/KingSora/OverlayScrollbars
*
* Version: 1.13.2
* Version: 1.13.3
*
* Copyright KingSora | Rene Haas.
* https://github.com/KingSora
*
* Released under the MIT license.
* Date: 01.06.2022
* Date: 20.07.2022
*/
(function (global, factory) {
@@ -1729,18 +1729,20 @@
* 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);
}
if (!_destroyed) {
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)) {
update({ _contentSizeChanged: true });
}
});
eachUpdateOnLoad(function (i, updateOnLoadSelector) {
if (elm.is(updateOnLoadSelector)) {
update({ _contentSizeChanged: true });
}
});
}
}
/**
+3 -3
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "overlayscrollbars",
"version": "1.13.2",
"version": "1.13.3",
"description": "A javascript scrollbar plugin which hides native scrollbars, provides custom styleable overlay scrollbars and keeps the native functionality and feeling.",
"keywords": [
"overlayscrollbars",