Merge pull request #469 from polomoshnov/patch-1

Resizable: Removed unnecessary code.
This commit is contained in:
Jörn Zaefferer 2011-11-17 06:56:45 -08:00
commit a8a0b022cd

View File

@ -292,7 +292,7 @@ $.widget("ui.resizable", $.ui.mouse, {
if (!trigger) return false;
// Calculate the attrs that will be change
var data = trigger.apply(this, [event, dx, dy]), ie6 = $.browser.msie && $.browser.version < 7, csdif = this.sizeDiff;
var data = trigger.apply(this, [event, dx, dy]);
// Put this in the mouseDrag handler since the user can start pressing shift while resizing
this._updateVirtualBoundaries(event.shiftKey);