1
0
mirror of https://github.com/makew0rld/amfora.git synced 2024-12-04 14:46:29 -05:00

Fix duplicated bookmarks bug

This commit is contained in:
makeworld 2020-11-19 11:39:08 -05:00
parent ce81c97def
commit fb8af885ab

View File

@ -108,10 +108,10 @@ func openBkmkModal(name string, exists bool, favicon string) (string, int) {
return bkmkModalText, action return bkmkModalText, action
} }
var bkmkPageRaw = "# Bookmarks\r\n\r\n"
// Bookmarks displays the bookmarks page on the current tab. // Bookmarks displays the bookmarks page on the current tab.
func Bookmarks(t *tab) { func Bookmarks(t *tab) {
bkmkPageRaw := "# Bookmarks\r\n\r\n"
// Gather bookmarks // Gather bookmarks
m, keys := bookmarks.All() m, keys := bookmarks.All()
for i := range keys { for i := range keys {