Skip to content

Commit e652d71

Browse files
committed
change !addbookmark syntax
1 parent 6c4c2c1 commit e652d71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/searchbar/customBangs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ bangsPlugin.registerCustomBang({
346346
if (url) {
347347
places.updateItem(url, {
348348
isBookmarked: true,
349-
tags: (text ? text.split(',').map(t => t.trim()) : [])
349+
tags: (text ? text.split(/\s/g).map(t => t.replace('#', '').trim()) : [])
350350
})
351351
}
352352
}

0 commit comments

Comments
 (0)