Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

…tance.
  • Loading branch information...
commit 60dea24f18bc134b8fba5a3e23367d8e11f7e38d 1 parent 3ffdb55
@67726e 67726e authored
Showing with 2 additions and 2 deletions.
  1. +1 −2  jquery.infinitescroll.js
  2. +1 −0  test/index.html
View
3  jquery.infinitescroll.js
@@ -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
1  test/index.html
@@ -79,6 +79,7 @@
itemSelector : "#content p",
debug : true,
dataType : 'html',
+ maxPage : 3,
// prefill : true,
// path: ["http://nuvique/infinite-scroll/test/index", ".html"]
path: function(index) {
Please sign in to comment.
Something went wrong with that request. Please try again.