Skip to content

Commit

Permalink
Added missing semi-colons.
Browse files Browse the repository at this point in the history
  • Loading branch information
omichelsen committed Jun 24, 2015
1 parent df2d793 commit 24cfb6c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/angular-resizable.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ angular.module('angularResizable', [])
else
info.height = scope.rFlex ? parseInt(element[0].style.flexBasis) : parseInt(element[0].style.height);
info.id = element[0].id;
}
};

var dragging = function(e) {
var prop, offset = axis === 'x' ? start - e.clientX : start - e.clientY;
Expand Down Expand Up @@ -115,17 +115,17 @@ angular.module('angularResizable', [])
grabber.setAttribute('class', 'rg-' + dir[i]);
grabber.innerHTML = inner;
element[0].appendChild(grabber);
grabber.ondragstart = function() { return false }
grabber.ondragstart = function() { return false; };
grabber.addEventListener('mousedown', function(e) {
disabled = (scope.rDisabled === 'true');
if (!disabled && e.which === 1) {
// left mouse click
dragStart(e, direction);
}
}, false);
}())
}());
}

}
}
};
});

0 comments on commit 24cfb6c

Please sign in to comment.