From: Anthony Talarico Date: Fri, 8 Jan 2016 21:11:44 +0000 (-0500) Subject: testing dynamic style changes X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=e393db96b6b8a855b0543d9d9887dde01e93f6bd;p=WP-Themes%2Fmichsci.git testing dynamic style changes --- diff --git a/js/app.js b/js/app.js index c0b596e..a975787 100644 --- a/js/app.js +++ b/js/app.js @@ -148,16 +148,18 @@ $(document).ready(function () { }); } } - - $("document").ready(function() { - $(".hitarea").trigger('click'); - $(".hitarea").click(function(){ - }); - $(".expandable-hitrea").trigger("click"); - $(".expandable-hitrea").click(function() { - - }); - - - }); + var $treeview = $(".treeview").find("ul"); + $treeview.css("display", "block"); + $treeview.find(".hasChildren").css("display", "block"); +// $("document").ready(function() { +// $(".hitarea").trigger('click'); +// $(".hitarea").click(function(){ +// }); +// $(".expandable-hitrea").trigger("click"); +// $(".expandable-hitrea").click(function() { +// +// }); +// +// +// }); }); \ No newline at end of file diff --git a/js/custom/upcp.js b/js/custom/upcp.js index eb152ae..fa84c00 100644 --- a/js/custom/upcp.js +++ b/js/custom/upcp.js @@ -128,16 +128,18 @@ $(document).ready(function () { }); } } - - $("document").ready(function() { - $(".hitarea").trigger('click'); - $(".hitarea").click(function(){ - }); - $(".expandable-hitrea").trigger("click"); - $(".expandable-hitrea").click(function() { - - }); - - - }); + var $treeview = $(".treeview").find("ul"); + $treeview.css("display", "block"); + $treeview.find(".hasChildren").css("display", "block"); +// $("document").ready(function() { +// $(".hitarea").trigger('click'); +// $(".hitarea").click(function(){ +// }); +// $(".expandable-hitrea").trigger("click"); +// $(".expandable-hitrea").click(function() { +// +// }); +// +// +// }); }); \ No newline at end of file