Skip to content

Commit e703d5d

Browse files
committed
themes don't always have .post around posts, imma stop messing with this for now
1 parent aca1e73 commit e703d5d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jq_img_lazy_load.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Plugin Name: jQuery lazy load plugin
55
Plugin URI: http://github.com/ayn/wp-jquery-lazy-load/
66
Description: a quick and dirty wordpress plugin to enable image lazy loading.
7-
Version: v0.12
7+
Version: v0.13
88
Author: Andrew Ng
99
Author URI: http://blog.andrewng.com
1010
*/
@@ -24,7 +24,7 @@ function jquery_lazy_load_ready() {
2424
<script type="text/javascript">
2525
jQuery(document).ready(function($){
2626
if (navigator.platform == "iPad") return;
27-
jQuery(".post img").not(".cycle img").lazyload({
27+
jQuery("img").not(".cycle img").lazyload({
2828
effect:"fadeIn",
2929
placeholder: "$placeholdergif"
3030
});

0 commit comments

Comments
 (0)