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:
parent
f8b96a05b7
commit
4bb22b2ea1
@ -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();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user