Jay Salvat 11 年之前
父節點
當前提交
bf6df7a8f8
共有 2 個文件被更改,包括 5 次插入4 次删除
  1. 4 3
      dist/jquery.vegas.js
  2. 1 1
      dist/jquery.vegas.min.js

+ 4 - 3
dist/jquery.vegas.js

@@ -1,6 +1,6 @@
  // ----------------------------------------------------------------------------
  // ----------------------------------------------------------------------------
  // Vegas – Fullscreen Backgrounds and Slideshows with jQuery.
  // Vegas – Fullscreen Backgrounds and Slideshows with jQuery.
- // v1.3.2 - released 2013-08-15 17:14
+ // v1.3.2 - released 2013-08-29 13:29
  // Licensed under the MIT license.
  // Licensed under the MIT license.
  // http://vegas.jaysalvat.com/
  // http://vegas.jaysalvat.com/
  // ----------------------------------------------------------------------------
  // ----------------------------------------------------------------------------
@@ -66,12 +66,13 @@
         destroy: function(what) {
         destroy: function(what) {
             if (!what || what == "background") {
             if (!what || what == "background") {
                 $(".vegas-background, .vegas-loading").remove();
                 $(".vegas-background, .vegas-loading").remove();
-                $(window).unbind("resize.vegas");
+                $(window).unbind("*.vegas");
                 $current = $();
                 $current = $();
             }
             }
-            if (what == "overlay") {
+            if (!what || what == "overlay") {
                 $(".vegas-overlay").remove();
                 $(".vegas-overlay").remove();
             }
             }
+            clearInterval(timer);
             return $.vegas;
             return $.vegas;
         },
         },
         overlay: function(settings) {
         overlay: function(settings) {

文件差異過大導致無法顯示
+ 1 - 1
dist/jquery.vegas.min.js


部分文件因文件數量過多而無法顯示