So, I have the following js file which checks for few functions:
jQuery(document).ready(function() {
RebindClickModal_show();
RebindClickModal_contact();
});
However if a page does not have these functions, then I get reference error.
So, I want to add a if condition to check to see if these functions exists first.
What would be the best way doing it?
Thanks.