Skip to content

Commit e2b03bf

Browse files
AurelioDeRosascottgonzalez
authored andcommitted
Advanced Plugin Concepts: Replace bind() with on()
Closes jquerygh-507
1 parent c638d7b commit e2b03bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

page/plugins/advanced-plugin-concepts.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ var defaults = {
307307
308308
// Later on in the plugin:
309309
310-
nextButton.bind( "click", showNextImage );
310+
nextButton.on( "click", showNextImage );
311311
312312
function showNextImage() {
313313

0 commit comments

Comments
 (0)