From: Anthony Talarico Date: Fri, 8 Jan 2016 21:14:49 +0000 (-0500) Subject: fixing syntax error X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=b1d30f9a6556c7aa6e9ddea16a5517ca4ba2bc45;p=WP-Themes%2Fmichsci.git fixing syntax error --- diff --git a/js/app.js b/js/app.js index a589d58..119845c 100644 --- a/js/app.js +++ b/js/app.js @@ -148,8 +148,8 @@ $(document).ready(function () { }); } } - var $treeview = $(".treeview").find("ul"); - $treeview.css("display", "block"); + var $treeview = $(".treeview"); + $treeview.find("ul").css("display", "block"); // $treeview.find(".hasChildren").css("display", "block"); // $("document").ready(function() { // $(".hitarea").trigger('click'); diff --git a/js/custom/upcp.js b/js/custom/upcp.js index 581b475..1c0db0e 100644 --- a/js/custom/upcp.js +++ b/js/custom/upcp.js @@ -128,8 +128,8 @@ $(document).ready(function () { }); } } - var $treeview = $(".treeview").find("ul"); - $treeview.css("display", "block"); + var $treeview = $(".treeview"); + $treeview.find("ul").css("display", "block"); // $treeview.find(".hasChildren").css("display", "block"); // $("document").ready(function() { // $(".hitarea").trigger('click');