Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8822f2 commit fba2d1bCopy full SHA for fba2d1b
extensions/scale/deck.scale.js
@@ -92,9 +92,9 @@ works fine.
92
window.clearTimeout(timer);
93
timer = window.setTimeout(scaleDeck, options.scaleDebounce);
94
});
95
- $window.unbind('load.deckscale').bind('load.deckscale', function() {
96
- $.deck('enableScale');
97
- });
+ $.deck('enableScale');
+ $window.unbind('load.deckscale');
+ $window.bind('load.deckscale', scaleDeck);
98
};
99
100
var bindKeyEvents = function() {
0 commit comments