let in for loop, dismiss menu on note change

This commit is contained in:
Mo Bitar
2017-01-21 15:41:29 -06:00
parent 6f0eb66c33
commit c23b7747bf
4 changed files with 6 additions and 5 deletions

View File

@@ -75,6 +75,8 @@ angular.module('app.frontend')
this.setNote = function(note, oldNote) {
this.editorMode = 'edit';
this.showExtensions = false;
this.showMenu = false;
if(note.safeText().length == 0 && note.dummy) {
this.focusTitle(100);