Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix double call 'getPages' method
  • Loading branch information
Eugene Simakin committed Jan 5, 2014
1 parent 88fe60c commit 9efcf2e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion jquery.twbsPagination.js
Expand Up @@ -63,7 +63,10 @@
this.$element.append(this.$listContainer);
}

this.show(this.options.startPage);
this.render(this.currentPages);
this.setupEvents();

this.$element.trigger('page', this.options.startPage);
},

show: function (page) {
Expand Down

0 comments on commit 9efcf2e

Please sign in to comment.