diff --git a/src/jquery.gridster.js b/src/jquery.gridster.js index 566cc3dbf..5f76454ad 100755 --- a/src/jquery.gridster.js +++ b/src/jquery.gridster.js @@ -842,7 +842,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);