From f748589a9808e5c43c63dba24ffec8ab444d89fc Mon Sep 17 00:00:00 2001 From: Neil Brommer Date: Tue, 2 Jan 2018 20:29:25 -0800 Subject: [PATCH] Make deleteBookmark compatible with IE/Edge --- js/editBookmarks.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); }