Reselect first item on sort change

This commit is contained in:
Mo Bitar
2018-01-20 18:55:33 -06:00
parent 85cdba7a9e
commit b152df2af4
9 changed files with 22 additions and 17 deletions

View File

@@ -254,8 +254,11 @@ angular.module('app')
}
}
this.selectedMenuItem = function($event) {
this.showMenu = false;
this.selectedMenuItem = function($event, hide) {
if(hide) {
this.showMenu = false;
}
$event.stopPropagation();
}
this.deleteNote = function() {