mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-26 16:55:46 +01:00
fixed some bookmarks of appearing twice
This commit is contained in:
@@ -55,12 +55,10 @@ vimperator.Bookmarks = function () //{{{
|
|||||||
// update our bookmark cache
|
// update our bookmark cache
|
||||||
bookmarks = []; // also clear our bookmark cache
|
bookmarks = []; // also clear our bookmark cache
|
||||||
keywords = [];
|
keywords = [];
|
||||||
var root = bookmarksService.placesRoot;
|
|
||||||
|
|
||||||
var folders = [root];
|
var folders = [bookmarksService.toolbarFolder, bookmarksService.bookmarksMenuFolder, bookmarksService.unfiledBookmarksFolder];
|
||||||
var query = historyService.getNewQuery();
|
var query = historyService.getNewQuery();
|
||||||
var options = historyService.getNewQueryOptions();
|
var options = historyService.getNewQueryOptions();
|
||||||
// query.searchTerms = "test";
|
|
||||||
while (folders.length > 0)
|
while (folders.length > 0)
|
||||||
{
|
{
|
||||||
//comment out the next line for now; the bug hasn't been fixed; final version should include the next line
|
//comment out the next line for now; the bug hasn't been fixed; final version should include the next line
|
||||||
|
|||||||
Reference in New Issue
Block a user