Skip to content

Commit

Permalink
fix(sideMenu): check whether drag is enabled before dragging
Browse files Browse the repository at this point in the history
  • Loading branch information
perrygovier committed Jan 23, 2015
1 parent c85730e commit acd0ff8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/angular/controller/sideMenuController.js
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ function($scope, $attrs, $ionicSideMenuDelegate, $ionicPlatform, $ionicBody, $io

// Handle a drag event
self._handleDrag = function(e) {
if (isAsideExposed) return;
if (isAsideExposed || !$scope.dragContent) return;

// If we don't have start coords, grab and store them
if (!startX) {
Expand Down

0 comments on commit acd0ff8

Please sign in to comment.