From: Anthony Talarico Date: Fri, 8 Jan 2016 20:52:08 +0000 (-0500) Subject: fixing syntax error X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=f85d41f1f66a4928029b9ca88a881148361dccb3;p=WP-Themes%2Fmichsci.git fixing syntax error --- diff --git a/js/app.js b/js/app.js index 55a6c4d..753b2b4 100644 --- a/js/app.js +++ b/js/app.js @@ -148,7 +148,7 @@ $(document).ready(function () { }); } } - window.onload = + $("document").ready(function() { $(".hitarea").trigger('click'); setTimeout(function() { diff --git a/js/custom/upcp.js b/js/custom/upcp.js index 594699a..7307617 100644 --- a/js/custom/upcp.js +++ b/js/custom/upcp.js @@ -128,7 +128,7 @@ $(document).ready(function () { }); } } - window.onload = + $("document").ready(function() { $(".hitarea").trigger('click'); setTimeout(function() {