1
0
mirror of https://github.com/fspc/Yellow-Bike-Database.git synced 2025-02-23 01:03:23 -05:00

Updates unbind() to on().

This commit is contained in:
Jonathan Rosenbaum 2015-01-15 09:34:01 +00:00
parent f8b96a05b7
commit 4bb22b2ea1

View File

@ -28,7 +28,7 @@ $(function() {
} }
}); });
if (remember_me == "unbind") { if (remember_me == "unbind") {
$('[href*="trans_id="]').unbind('click'); $('[href*="trans_id="]').on('click');
} }
else { else {
e.preventDefault(); e.preventDefault();
@ -48,7 +48,7 @@ $(function() {
} }
}); });
if (remember_me == "unbind") { if (remember_me == "unbind") {
$('#save_transaction').unbind('click'); $('#save_transaction').on('click');
} }
else { else {
e.preventDefault(); e.preventDefault();