Skip to content

Commit

Permalink
version 1.13.3
Browse files Browse the repository at this point in the history
  • Loading branch information
KingSora committed Jul 20, 2022
1 parent 6317421 commit 34a1dc5
Show file tree
Hide file tree
Showing 7 changed files with 50 additions and 46 deletions.
20 changes: 10 additions & 10 deletions css/OverlayScrollbars.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

/*
Expand Down
2 changes: 1 addition & 1 deletion css/OverlayScrollbars.min.css

Large diffs are not rendered by default.

30 changes: 16 additions & 14 deletions js/OverlayScrollbars.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -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);
}

eachUpdateOnLoad(function (i, updateOnLoadSelector) {
if (elm.is(updateOnLoadSelector)) {
update({ _contentSizeChanged: true });
}
});
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 });
}
});
}
}

/**
Expand Down
6 changes: 3 additions & 3 deletions js/OverlayScrollbars.min.js

Large diffs are not rendered by default.

30 changes: 16 additions & 14 deletions js/jquery.overlayScrollbars.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -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);
}

eachUpdateOnLoad(function (i, updateOnLoadSelector) {
if (elm.is(updateOnLoadSelector)) {
update({ _contentSizeChanged: true });
}
});
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 });
}
});
}
}

/**
Expand Down
6 changes: 3 additions & 3 deletions js/jquery.overlayScrollbars.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit 34a1dc5

Please sign in to comment.