Add Prevent JQuery Firing Twice.js
This commit is contained in:
parent
5e57dabcf4
commit
99932ea63a
|
@ -0,0 +1,6 @@
|
|||
$(".toggle_action_items").unbind().on('click', 'a', function (e) {
|
||||
e.preventDefault();
|
||||
var proj_num = ($(this).attr('id')).split("-")[1].split("_")[1];
|
||||
var id = "#action_items_list-projnum_" + proj_num;
|
||||
$(id).slideToggle(100, function () { });
|
||||
});
|
Loading…
Reference in New Issue