Change jQuery reference for $.

This commit is contained in:
Diogo Benicá
2015-03-16 17:22:29 -03:00
parent 314037471f
commit ec253acf83
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -1686,7 +1686,7 @@
* than the original.
*/
fn.register_widget = function($el) {
var isDOM = $el instanceof jQuery;
var isDOM = $el instanceof $;
var wgd = isDOM ? this.dom_to_coords($el) : $el;
var posChanged = false;
isDOM || ($el = wgd.el);
+2 -2
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -839,7 +839,7 @@
* than the original.
*/
fn.register_widget = function($el) {
var isDOM = $el instanceof jQuery;
var isDOM = $el instanceof $;
var wgd = isDOM ? this.dom_to_coords($el) : $el;
var posChanged = false;
isDOM || ($el = wgd.el);