Skip to content

Commit

Permalink
BUG Fix default parameter value in the _fetch function.
Browse files Browse the repository at this point in the history
  • Loading branch information
mateusz committed Aug 25, 2013
1 parent a33865b commit 32355af
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion javascript/jquery.ss.pagination.js
Original file line number Diff line number Diff line change
Expand Up @@ -190,8 +190,9 @@
* We are only interested in the content element, so we peel the rest
* off via the contentSelector.
*/
_fetch: function(pageStart, fromPopstate = false) {
_fetch: function(pageStart, fromPopstate) {
var self = this;
fromPopstate = typeof fromPopstate!=='undefined' ? fromPopstate : false;

if (this._trigger('beforepagefetch')===false) return;

Expand Down

0 comments on commit 32355af

Please sign in to comment.