Changeset 1063859
- Timestamp:
- 01/09/2015 09:47:11 AM (11 years ago)
- Location:
- masonry-post-gallery
- Files:
-
- 2 edited
-
tags/0.4.0.0b/masonry-post-gallery.php (modified) (2 diffs)
-
trunk/masonry-post-gallery.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
masonry-post-gallery/tags/0.4.0.0b/masonry-post-gallery.php
r1063808 r1063859 626 626 // So, set the load on a timer and check for readiness if not already uh.. ready... 627 627 $output .= " 628 <script type='text/javascript'>"; 629 if(!self::$a['ajax_mode']) $output .= " 628 <script type='text/javascript'> 630 629 jQuery(document).ready(function() 631 {"; 632 $output .= " 630 { 633 631 function cm" . self::$id . "_drawGallery() 634 632 { … … 645 643 } 646 644 if(typeof Cactus_Masonry === 'function') cm" . self::$id . "_drawGallery(); 647 else timer" . self::$id . " = window.setInterval(cm" . self::$id . "_testGallery,10);"; 648 if(!self::$a['ajax_mode']) $output .= " 649 });"; 650 $output .= " 645 else timer" . self::$id . " = window.setInterval(cm" . self::$id . "_testGallery,10); 646 }); 651 647 </script>\n"; 652 648 } -
masonry-post-gallery/trunk/masonry-post-gallery.php
r1063808 r1063859 626 626 // So, set the load on a timer and check for readiness if not already uh.. ready... 627 627 $output .= " 628 <script type='text/javascript'>"; 629 if(!self::$a['ajax_mode']) $output .= " 628 <script type='text/javascript'> 630 629 jQuery(document).ready(function() 631 {"; 632 $output .= " 630 { 633 631 function cm" . self::$id . "_drawGallery() 634 632 { … … 645 643 } 646 644 if(typeof Cactus_Masonry === 'function') cm" . self::$id . "_drawGallery(); 647 else timer" . self::$id . " = window.setInterval(cm" . self::$id . "_testGallery,10);"; 648 if(!self::$a['ajax_mode']) $output .= " 649 });"; 650 $output .= " 645 else timer" . self::$id . " = window.setInterval(cm" . self::$id . "_testGallery,10); 646 }); 651 647 </script>\n"; 652 648 }
Note: See TracChangeset
for help on using the changeset viewer.