tencent.jquery.pix.component 1.0.60 → 1.0.61
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -151,6 +151,9 @@ Banner.prototype.startAutoPlay = function() {
|
|
|
151
151
|
}
|
|
152
152
|
|
|
153
153
|
Banner.prototype.pauseAutoPlay = function() {
|
|
154
|
+
if (this.timer == null) {
|
|
155
|
+
return;
|
|
156
|
+
}
|
|
154
157
|
clearInterval(this.timer);
|
|
155
158
|
this.timer = null;
|
|
156
159
|
}
|
|
@@ -445,6 +448,7 @@ Banner.prototype.loadBackground = function (pos) {
|
|
|
445
448
|
}
|
|
446
449
|
|
|
447
450
|
Banner.prototype.remove = function () {
|
|
451
|
+
this.pauseAutoPlay();
|
|
448
452
|
$(this.options.container).empty();
|
|
449
453
|
removeResizeFunc({
|
|
450
454
|
obj: this,
|