Skip to content

Commit

Permalink
Resizable: Whitespace Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
mikesherov committed Jan 28, 2015
1 parent 79c4fa1 commit 337e411
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tests/unit/resizable/resizable_options.js
Expand Up @@ -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");
Expand Down Expand Up @@ -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");
Expand Down
2 changes: 1 addition & 1 deletion ui/resizable.js
Expand Up @@ -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;
Expand Down

0 comments on commit 337e411

Please sign in to comment.