diff --git a/js/editBookmarks.js b/js/editBookmarks.js index 8b2b6c7..5689712 100644 --- a/js/editBookmarks.js +++ b/js/editBookmarks.js @@ -162,7 +162,7 @@ function deleteBookmark(e) { groupData.bookmarks = removeFromArray(groupData.bookmarks, bookmarkIndex); groupsStore.put(groupData); - bookmarkItem.hide(300, "swing", e => bookmarkItem.remove()); + bookmarkItem.hide(300, "swing", function () { bookmarkItem.remove(); }); db.close(); }