Skip to content

Commit 97fcf34

Browse files
author
Mark Vincent
authored
Merge pull request #389 from WildcardSearch/slideshow-patch
3.1.19 Release
2 parents f22e02d + fbd538a commit 97fcf34

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Advanced-Sidebox 3.1.18
1+
## Advanced-Sidebox 3.1.19
22

33
<p align="center">
44
<img title="Advanced Sidebox Logo" alt="Advanced Sidebox Logo" src="http://i.imgur.com/4QWLq5V.png" />

Upload/inc/plugins/asb.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
// for modules
1616
define('IN_ASB', true);
1717
define('ASB_MODULES_DIR', MYBB_ROOT.'inc/plugins/asb/modules');
18-
define('ASB_VERSION', '3.1.18');
18+
define('ASB_VERSION', '3.1.19');
1919
define('ASB_CUSTOM_VERSION', '2.0');
2020
define('ASB_SCRIPT_VERSION', '2.0');
2121

Upload/jscripts/asb/Slideshow.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ var ASB = (function(a, $) {
8484
*/
8585
this.showCurrent();
8686
$($.proxy(this.run, this));
87-
$(window).unload($.proxy(this.stop, this));
87+
$(window).on("unload", $.proxy(this.stop, this));
8888
}
8989

9090
/**
@@ -156,7 +156,7 @@ var ASB = (function(a, $) {
156156
});
157157
$("body").append(this.clone);
158158

159-
this.clone.load($.proxy(this.resize, this)).each(function() {
159+
this.clone.on("load", $.proxy(this.resize, this)).each(function() {
160160
if (this.complete) {
161161
$(this).load();
162162
}

Upload/jscripts/asb/Slideshow.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)