Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
moiri committed Jan 11, 2015
1 parent 48e75cb commit 73adab9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -1159,7 +1159,7 @@ function Movable(id, config, setEnableMeCb, setKeyCodeCb) {
me.objImg.removeClass('idle');
me.objImgCont.removeClass('right left');
me.objImgCont.addClass(direction);
if ((direction === 'left') && (dist != 'undefined')) dist = -dist;
if ((direction === 'left') && (dist != undefined)) dist = -dist;
}
else if ((direction != 'top') && (direction != 'bottom'))
throw 'unknown direction "' + direction + '"';
Expand Down

0 comments on commit 73adab9

Please sign in to comment.