prevent multiple event bindings on collapsible advanced options header
This commit is contained in:
parent
13d6df24fb
commit
eec07d38f7
|
@ -567,10 +567,10 @@ function setupUI() {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
activeTab.find('.smart-block-form .collapsible-header').click(function(){
|
activeTab.find('.collapsible-header').off('click').on('click', function(){
|
||||||
$(this).toggleClass('visible');
|
$(this).toggleClass('visible');
|
||||||
$('.smart-block-advanced').toggle();
|
$('.smart-block-advanced').toggle();
|
||||||
})
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Utilizing jQuery this function finds the #datetime_select element on the given row
|
/* Utilizing jQuery this function finds the #datetime_select element on the given row
|
||||||
|
|
Loading…
Reference in New Issue