Skip to content

Commit

Permalink
Adapt @dashawk's snippet to fix issue Templarian#36.
Browse files Browse the repository at this point in the history
  • Loading branch information
madmas committed Jan 21, 2016
1 parent 7e2cd49 commit f2a521a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions contextMenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,9 @@ angular.module('ui.bootstrap.contextMenu', [])
$scope.$apply(function () {
if (nestedMenu) {
openNestedMenu($event);
} else {
$(event.currentTarget).removeClass('context');
removeContextMenus(level + 1);
}
});
});
Expand Down

0 comments on commit f2a521a

Please sign in to comment.