Skip to content

Commit 337e411

Browse files
committed
Resizable: Whitespace Cleanup
1 parent 79c4fa1 commit 337e411

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/unit/resizable/resizable_options.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ test( "containment - immediate parent", function() {
236236
test("grid", function() {
237237
expect(4);
238238

239-
var handle = ".ui-resizable-se", target = $("#resizable1").resizable({ handles: "all", grid: [0, 20] });
239+
var handle = ".ui-resizable-se", target = $("#resizable1").resizable({ handles: "all", grid: [ 0, 20 ] });
240240

241241
TestHelpers.resizable.drag(handle, 3, 9);
242242
equal( target.width(), 103, "compare width");
@@ -264,7 +264,7 @@ test("grid (min/max dimensions)", function() {
264264
test("grid (wrapped)", function() {
265265
expect(4);
266266

267-
var handle = ".ui-resizable-se", target = $("#resizable2").resizable({ handles: "all", grid: [0, 20] });
267+
var handle = ".ui-resizable-se", target = $("#resizable2").resizable({ handles: "all", grid: [ 0, 20 ] });
268268

269269
TestHelpers.resizable.drag(handle, 3, 9);
270270
equal( target.width(), 103, "compare width");

ui/resizable.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -948,7 +948,7 @@ $.ui.plugin.add( "resizable", "containment", {
948948
}
949949
}
950950

951-
if ( !continueResize ){
951+
if ( !continueResize ) {
952952
that.position.left = that.prevPosition.left;
953953
that.position.top = that.prevPosition.top;
954954
that.size.width = that.prevSize.width;

0 commit comments

Comments
 (0)