Skip to content

Commit a9fe144

Browse files
committed
updated both jquery to 1.4.2, pulling from Google CDN, updated lazy load to 1.5.0
1 parent 4f64cfe commit a9fe144

File tree

4 files changed

+16
-24
lines changed

4 files changed

+16
-24
lines changed

javascripts/jquery.js

Lines changed: 0 additions & 19 deletions
This file was deleted.

javascripts/jquery.lazyload.mini.js

Lines changed: 12 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

javascripts/jquery.lazyload.pack.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

jq_img_lazy_load.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111

1212
function jquery_lazy_load_headers() {
1313
$plugin_path = plugins_url('/', __FILE__);
14-
$lazy_url = $plugin_path . 'javascripts/jquery.lazyload.pack.js';
15-
$jq_url = $plugin_path . 'javascripts/jquery.js';
14+
$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';
1616
wp_deregister_script('jquery');
17-
wp_enqueue_script('jquery', $jq_url, false, '1.3.2');
18-
wp_enqueue_script('jquerylazyload', $lazy_url, 'jquery', '1.4.0');
17+
wp_enqueue_script('jquery', $jq_url, false, '1.4.2');
18+
wp_enqueue_script('jquerylazyload', $lazy_url, 'jquery', '1.5.0');
1919
}
2020

2121
function jquery_lazy_load_ready() {

0 commit comments

Comments
 (0)