diff --git a/client/scripts/custom.js.php b/client/scripts/custom.js.php index 575d8a8..28ccc75 100644 --- a/client/scripts/custom.js.php +++ b/client/scripts/custom.js.php @@ -6,14 +6,14 @@ ?> -log('Script "custom.js" loaded'); +log('[tpl] Script "custom.js" loaded'); var loaderCount = 2; var showLoader = function() { if (loaderCount < 1) { $('#preloader').removeClass('preloader-hide'); loaderCount = 0; - log('Loader shown'); + log('[tpl] Loader shown'); } loaderCount ++; } @@ -22,7 +22,7 @@ var hideLoader = function() { if (loaderCount < 1) { $('#preloader').addClass('preloader-hide'); loaderCount = 0; - log('Loader hidden'); + log('[tpl] Loader hidden'); } } @@ -39,11 +39,11 @@ function eraseCookie(e) {createCookie(e, "", -1)} $(document).ready(function(){ 'use strict' - log('Document ready'); + log('[tpl] Document ready'); function init_template(){ - log('Initializing template...'); + log('[tpl] Initializing template...'); //ADD YOUR CUSTOM JAVASCRIPT CODES HERE! //Do not put inside HTML files. @@ -111,21 +111,23 @@ $(document).ready(function(){ //Disable Page Jump on Empty Links. $('a').on('click', function(){var attrs = $(this).attr('href'); if(attrs === '#'){return false;}}); + log('[tpl] init menus'); + //Adding Background for Gradient if(!$('.menu-hider').length){$('#page').append('