Skip to content

Commit

Permalink
FIX Refer to document.on instead of $.live
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcus Nyeholt committed Jun 5, 2015
1 parent 0dad81e commit b5f1100
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion javascript/permission-dialog.js
Expand Up @@ -25,7 +25,7 @@
});

// we search for any .permissionManager, and get the info
$(".permissionManager").live("click", function() {
$(document).on('click', ".permissionManager", function() {
initialiseDialog($(this).data("object"));
return false;
});
Expand Down

0 comments on commit b5f1100

Please sign in to comment.