Changeset 21347
- Timestamp:
- 07/25/2012 10:43:04 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/js/imgareaselect/jquery.imgareaselect.dev.js
r20602 r21347 1 1 /* 2 2 * imgAreaSelect jQuery plugin 3 * version 0.9. 83 * version 0.9.9 4 4 * 5 5 * Copyright (c) 2008-2011 Michal Wojciechowski (odyniec.net) … … 707 707 708 708 /* If this is an API call, callback functions should not be triggered */ 709 if (! this instanceof $.imgAreaSelect) {709 if (!(this instanceof $.imgAreaSelect)) { 710 710 options.onSelectChange(img, getSelection()); 711 711 options.onSelectEnd(img, getSelection()); … … 867 867 */ 868 868 function styleOptions($elem, props) { 869 for ( option in props)869 for (var option in props) 870 870 if (options[option] !== undefined) 871 871 $elem.css(props[option], options[option]); … … 1144 1144 * accommodate for MSIE 9 running in compatibility mode. 1145 1145 */ 1146 if ( $.browser.msie && $.browser.version >= 7)1146 if (!imgLoaded && $.browser.msie && $.browser.version >= 7) 1147 1147 img.src = img.src; 1148 1148 };
Note: See TracChangeset
for help on using the changeset viewer.