mirror of
https://github.com/jquery/jquery-ui.git
synced 2026-04-20 03:02:41 -04:00
Resizable: Whitespace Cleanup
This commit is contained in:
@@ -236,7 +236,7 @@ test( "containment - immediate parent", function() {
|
||||
test("grid", function() {
|
||||
expect(4);
|
||||
|
||||
var handle = ".ui-resizable-se", target = $("#resizable1").resizable({ handles: "all", grid: [0, 20] });
|
||||
var handle = ".ui-resizable-se", target = $("#resizable1").resizable({ handles: "all", grid: [ 0, 20 ] });
|
||||
|
||||
TestHelpers.resizable.drag(handle, 3, 9);
|
||||
equal( target.width(), 103, "compare width");
|
||||
@@ -264,7 +264,7 @@ test("grid (min/max dimensions)", function() {
|
||||
test("grid (wrapped)", function() {
|
||||
expect(4);
|
||||
|
||||
var handle = ".ui-resizable-se", target = $("#resizable2").resizable({ handles: "all", grid: [0, 20] });
|
||||
var handle = ".ui-resizable-se", target = $("#resizable2").resizable({ handles: "all", grid: [ 0, 20 ] });
|
||||
|
||||
TestHelpers.resizable.drag(handle, 3, 9);
|
||||
equal( target.width(), 103, "compare width");
|
||||
|
||||
@@ -948,7 +948,7 @@ $.ui.plugin.add( "resizable", "containment", {
|
||||
}
|
||||
}
|
||||
|
||||
if ( !continueResize ){
|
||||
if ( !continueResize ) {
|
||||
that.position.left = that.prevPosition.left;
|
||||
that.position.top = that.prevPosition.top;
|
||||
that.size.width = that.prevSize.width;
|
||||
|
||||
Reference in New Issue
Block a user