From 38c94b07bd9cc883d65b9c51b7aa784bb5febc45 Mon Sep 17 00:00:00 2001 From: Neil Brommer Date: Mon, 1 Jan 2018 16:55:44 -0800 Subject: [PATCH] Clean up code --- js/addBookmarks.js | 85 ++++++++++++++++++-------------- js/editBookmarks.js | 115 ++++++++++++++++++++++++-------------------- js/importExport.js | 18 ++++--- js/loadBookmarks.js | 78 +++++++++++++----------------- 4 files changed, 155 insertions(+), 141 deletions(-) diff --git a/js/addBookmarks.js b/js/addBookmarks.js index 6cb7f7d..bb1804f 100644 --- a/js/addBookmarks.js +++ b/js/addBookmarks.js @@ -1,24 +1,41 @@ $(document).ready(function () { - $("#newBookmarkModal").on("shown.bs.modal", function () { - var combo = $("#newBookmarkGroup"); - combo.empty(); - combo.append($("