Attempted fix at jquery off-canvas arrow-toggling code
authorLaury GvR <laury@gaslightmedia.com>
Tue, 10 Mar 2015 18:58:11 +0000 (14:58 -0400)
committerLaury GvR <laury@gaslightmedia.com>
Tue, 10 Mar 2015 18:58:11 +0000 (14:58 -0400)
footer.php
scss/.LCK_structure.scss~ [deleted file]

index ab03150..8c2b305 100755 (executable)
         </div><!--/inner-wrap-->
      </div><!--/off-canvas-->
      <script>
-            
             jQuery.ajax({
-            url: '<?php bloginfo('template_url'); ?>/proxy.php?s=top-bar',
-            cache: false
-            })
-                .done(function( html ) {
-                jQuery( ".top-bar-section" ).append( html );
-                jQuery('.off-canvas-list').find('a.toggle').click(function() {
-                    jQuery(this).toggleClass('open');
-                    jQuery(this).siblings('ul').toggleClass('open');
-                });
+        url: '<?php bloginfo('template_url'); ?>/proxy.php?s=top-bar',
+        cache: false
+        })
+            .done(function( html ) {
+            jQuery( ".top-bar-section" ).append( html );
+            jQuery('.off-canvas-list').find('a.toggle').click(function() {
+                jQuery(this).toggleClass('open');
+                jQuery(this).siblings('ul').toggleClass('open');
             });
-            jQuery.ajax({
-            url: '<?php bloginfo('template_url'); ?>/proxy.php?s=off-canvas',
-            cache: false
-            })
-                .done(function( html ) {
-                jQuery( ".left-off-canvas-menu" ).append( html );
-                jQuery('.off-canvas-list').find('a.toggle').click(function() {
-                    jQuery(this).toggleClass('open');
-                    jQuery(this).siblings('ul').toggleClass('open');
-                });
-            });
-
+        });
+        jQuery.ajax({
+        url: '<?php bloginfo('template_url'); ?>/proxy.php?s=off-canvas',
+        cache: false
+        });
     </script>
     <?php wp_footer();?>
  </body>
diff --git a/scss/.LCK_structure.scss~ b/scss/.LCK_structure.scss~
deleted file mode 100644 (file)
index 7fa4bdb..0000000
+++ /dev/null
@@ -1 +0,0 @@
-/var/www/server/wordpress/wp-content/themes/gaylordgolfmecca/scss/_structure.scss
\ No newline at end of file