OK, I know the error is occuring when I add the code Nabeel A supplied above.
(function(){
jQuery.fn.addClass = function(){
jQuery(this).trigger('smile-slideInDown');
}
})();
jQuery(document).ready(function($){
$(".cp-pos-top.cp-info-bar-shadow").bind('smile-slideInDown', function(){
if( $('.cp-pos-top.cp-info-bar-shadow').hasClass("smile-slideInDown") ) {
$('body').css('margin-top', '53px');
}
else {
$('body').css('margin-top', '0');
}
});
});
As when I remove this from the Global Javascript everything is fine, I have removed this to allow me to continue to work on the content on the site.
I have unchecked the load google maps from uber menu.
I am working on the content for the next 10 mins.
After that can you please take a look, while no one else in on the site.
I will keep clear for 2 hours. (till 13.00 uk time)
Many thanks