Permalink
Browse files

Issue #79 Fade out the loading message on destruction of a plugin ins…

…tance.
  • Loading branch information...
1 parent 3ffdb55 commit 60dea24f18bc134b8fba5a3e23367d8e11f7e38d @67726e 67726e committed Jan 14, 2013
Showing with 2 additions and 2 deletions.
  1. +1 −2 jquery.infinitescroll.js
  2. +1 −0 test/index.html
View
@@ -510,10 +510,9 @@
// Destroy current instance of plugin
destroy: function infscr_destroy() {
-
this.options.state.isDestroyed = true;
+ this.options.loading.finished();
return this._error('destroy');
-
},
// Set pause value to false
View
@@ -79,6 +79,7 @@ <h1>Infinite Scroll Testing</h1>
itemSelector : "#content p",
debug : true,
dataType : 'html',
+ maxPage : 3,
// prefill : true,
// path: ["http://nuvique/infinite-scroll/test/index", ".html"]
path: function(index) {

0 comments on commit 60dea24

Please sign in to comment.