fixing syntax error
authorAnthony Talarico <talarico@gaslightmedia.com>
Fri, 22 Jan 2016 21:59:47 +0000 (16:59 -0500)
committerAnthony Talarico <talarico@gaslightmedia.com>
Fri, 22 Jan 2016 21:59:47 +0000 (16:59 -0500)
js/app.js
js/custom/pageSetup.js
parts/glm-blocks.php

index eb344a1..a0bfba2 100644 (file)
--- a/js/app.js
+++ b/js/app.js
@@ -180,14 +180,7 @@ $(document).ready(function () {
             $("#departOff").val(minDays);
         }
     });
-  
-    $('#block-1, #block-2, #block-3').bind('touchstart', function(){
-         $('#block-1, #block-2, #block-3').on("click", function ()){
-            if($("#block-1").is(":hover")){
-               
-         }
-      });
-   });
+
     
 //    if($(window).width() <= 1024){
 //        var p = document.getElementById('block-1');
index 6192edc..dd219a2 100644 (file)
@@ -171,14 +171,7 @@ $(document).ready(function () {
             $("#departOff").val(minDays);
         }
     });
-  
-    $('#block-1, #block-2, #block-3').bind('touchstart', function(){
-         $('#block-1, #block-2, #block-3').on("click", function ()){
-            if($("#block-1").is(":hover")){
-               
-         }
-      });
-   });
+
     
 //    if($(window).width() <= 1024){
 //        var p = document.getElementById('block-1');
index 4d62b9a..fad076b 100644 (file)
@@ -6,7 +6,7 @@
     <div class="small-11 small-centered medium-uncentered medium-6 columns">
         <div class="row collapse">
             <?php $post_image_id = get_post_thumbnail_id($block->ID); ?>
-           <?php $thumbnail = wp_get_attachment_image_src( $post_image_id, false); ?>
+           <?php $thumbnail = wp_get_attachment_image_src( $post_image_id, 'glm_blocks', false); ?>
            
            <!--block div -->
             <div id="block-<?php echo $count; ?>" class="small-12 columns blocks" style="background: url('<?php echo $thumbnail[0]; ?>') no-repeat ; background-size: 100% 100%;">