Image Widget - Version 3.2.11

Version Description

  • Yet another minor JS fix to hopefully address issues of lightbox not working
Download this release

Release Info

Developer mattwiebe
Plugin Icon 128x128 Image Widget
Version 3.2.11
Comparing to
See all releases

Code changes from version 3.2.10 to 3.2.11

Files changed (3) hide show
  1. image-widget.js +2 -2
  2. image-widget.php +1 -1
  3. readme.txt +5 -1
image-widget.js CHANGED
@@ -97,8 +97,8 @@
97
 
98
  $(document).ready(function() {
99
  // Use new style event handling since $.fn.live() will be deprecated
100
- if ( typeof $.fn.on === 'function' ) {
101
- $("#widgets-right").on("click", "a.thickbox-image-widget", imgHandler);
102
  }
103
  else {
104
  $("a.thickbox-image-widget").live('click', imgHandler);
97
 
98
  $(document).ready(function() {
99
  // Use new style event handling since $.fn.live() will be deprecated
100
+ if ( typeof $.fn.on !== 'undefined' ) {
101
+ $("#wpbody").on("click", ".thickbox-image-widget", imgHandler);
102
  }
103
  else {
104
  $("a.thickbox-image-widget").live('click', imgHandler);
image-widget.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Image Widget
4
  Plugin URI: http://wordpress.org/extend/plugins/image-widget/
5
  Description: Simple image widget that uses native Wordpress upload thickbox to add image widgets to your site.
6
  Author: Modern Tribe, Inc.
7
- Version: 3.2.10
8
  Author URI: http://tri.be/
9
  */
10
 
4
  Plugin URI: http://wordpress.org/extend/plugins/image-widget/
5
  Description: Simple image widget that uses native Wordpress upload thickbox to add image widgets to your site.
6
  Author: Modern Tribe, Inc.
7
+ Version: 3.2.11
8
  Author URI: http://tri.be/
9
  */
10
 
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
4
  Tags: widget, image, ad, banner, simple, upload, sidebar, admin, thickbox, resize
5
  Requires at least: 3.0
6
  Tested up to: 3.3
7
- Stable tag: 3.2.10
8
 
9
  == Description ==
10
 
@@ -68,6 +68,10 @@ function my_template_filter($template) {
68
 
69
  == Changelog ==
70
 
 
 
 
 
71
  = 3.2.10 =
72
 
73
  * Fix JS typo.
4
  Tags: widget, image, ad, banner, simple, upload, sidebar, admin, thickbox, resize
5
  Requires at least: 3.0
6
  Tested up to: 3.3
7
+ Stable tag: 3.2.11
8
 
9
  == Description ==
10
 
68
 
69
  == Changelog ==
70
 
71
+ = 3.2.11 =
72
+
73
+ * Yet another minor JS fix to hopefully address issues of lightbox not working
74
+
75
  = 3.2.10 =
76
 
77
  * Fix JS typo.