testing display of listview sub cats
authorAnthony Talarico <talarico@gaslightmedia.com>
Wed, 13 Jan 2016 14:29:24 +0000 (09:29 -0500)
committerAnthony Talarico <talarico@gaslightmedia.com>
Wed, 13 Jan 2016 14:29:24 +0000 (09:29 -0500)
js/app.js
js/custom/upcp.js

index 3ef3efa..96d8f9d 100644 (file)
--- a/js/app.js
+++ b/js/app.js
@@ -35,7 +35,7 @@ $(document).ready(function () {
     // don't display products on the main "products page"
     if ((window.location.href.indexOf("products-2") >= 0)){
         $("#gridView").css("display", "none");
-        $("#listView").css("display", "none");
+       // $("#listView").css("display", "none");
         $("#grid").on("click", function (e) {
             document.cookie = "catView=grid";
             location.reload();
index 8d6ff9c..f8929eb 100644 (file)
@@ -15,7 +15,7 @@ $(document).ready(function () {
     // don't display products on the main "products page"
     if ((window.location.href.indexOf("products-2") >= 0)){
         $("#gridView").css("display", "none");
-        $("#listView").css("display", "none");
+       // $("#listView").css("display", "none");
         $("#grid").on("click", function (e) {
             document.cookie = "catView=grid";
             location.reload();