Some minor bug fixing
This commit is contained in:
@@ -29,7 +29,6 @@
|
||||
|
||||
axios.post('/api/note/delete', {'noteId':this.noteId}).then(response => {
|
||||
if(response.data == true){
|
||||
console.log('Lets delete this note!')
|
||||
this.$bus.$emit('note_deleted', this.noteId)
|
||||
}
|
||||
})
|
||||
|
@@ -147,8 +147,8 @@
|
||||
|
||||
document.removeEventListener('visibilitychange', this.visibiltyChangeAction)
|
||||
|
||||
this.$off() // Remove all event listeners
|
||||
this.$bus.$off()
|
||||
// this.$off() // Remove all event listeners
|
||||
// this.$bus.$off()
|
||||
|
||||
//Trash editor instance on close
|
||||
this.tinymce.remove()
|
||||
|
Reference in New Issue
Block a user