Skip to content

Commit

Permalink
bind -> on
Browse files Browse the repository at this point in the history
  • Loading branch information
dohoons committed Sep 21, 2017
1 parent 92c30b9 commit 97e8487
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@
paging.append('<button type="button" class="btn_page">page' + i + '</button>');
}

paging.find(".btn_page").bind("click", function (e) {
paging.find(".btn_page").on("click", function (e) {
_this.go_page($(this).index());
});
},
Expand Down

0 comments on commit 97e8487

Please sign in to comment.