testing removal of div
authorAnthony Talarico <talarico@gaslightmedia.com>
Wed, 23 Dec 2015 15:10:31 +0000 (10:10 -0500)
committerAnthony Talarico <talarico@gaslightmedia.com>
Wed, 23 Dec 2015 15:10:31 +0000 (10:10 -0500)
js/app.js
js/custom/upcp.js

index c9a825d..f53ad86 100644 (file)
--- a/js/app.js
+++ b/js/app.js
@@ -71,5 +71,11 @@ $(document).ready(function () {
         $("#categoryDropdown").change(function() {
             $("#catSubmit").submit();
         });
-    $("div[style='clear:both']").remove();
+
+
+    $('div').filter(function() {
+        return $(this).css('clear') == 'both';
+    }).css("clear", "none");
+
+
 });
index fb16697..5e88deb 100644 (file)
@@ -51,5 +51,11 @@ $(document).ready(function () {
         $("#categoryDropdown").change(function() {
             $("#catSubmit").submit();
         });
-    $("div[style='clear:both']").remove();
+
+
+    $('div').filter(function() {
+        return $(this).css('clear') == 'both';
+    }).css("clear", "none");
+
+
 });