Skip to content

Commit 341f878

Browse files
committed
bumped jquery version
1 parent c9af37f commit 341f878

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

jq_img_lazy_load.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,17 @@
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.10
7+
Version: v0.11
88
Author: Andrew Ng
99
Author URI: http://blog.andrewng.com
1010
*/
1111

1212
function jquery_lazy_load_headers() {
1313
$plugin_path = plugins_url('/', __FILE__);
1414
$lazy_url = $plugin_path . 'javascripts/jquery.lazyload.mini.js';
15-
$jq_url = 'http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js';
15+
$jq_url = 'https://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js';
1616
wp_deregister_script('jquery');
17-
wp_enqueue_script('jquery', $jq_url, false, '1.4.2');
17+
wp_enqueue_script('jquery', $jq_url, false, '1.6.1');
1818
wp_enqueue_script('jquerylazyload', $lazy_url, 'jquery', '1.5.0');
1919
}
2020

@@ -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("img").lazyload({
27+
jQuery("#content img").lazyload({
2828
effect:"fadeIn",
2929
placeholder: "$placeholdergif"
3030
});

readme.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Contributors: ayn
33
Tags: images, jquery, javascript, optimization
44
Requires at least: 2.8
55
Tested up to: 2.9.2
6-
Stable tag: 0.10
6+
Stable tag: 0.11
77

88
add jquery lazy loading to images
99

0 commit comments

Comments
 (0)