mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-22 21:17:59 +01:00
Fixed :cd not changing to home dir
This commit is contained in:
@@ -174,9 +174,13 @@ vimperator.Bookmarks = function () //{{{
|
||||
|
||||
isBookmarked: function(url)
|
||||
{
|
||||
var uri = ioService.newURI(url, null, null);
|
||||
var count = {};
|
||||
bookmarksService.getBookmarkIdsForURI(uri, count);
|
||||
try
|
||||
{
|
||||
var uri = ioService.newURI(url, null, null);
|
||||
var count = {};
|
||||
bookmarksService.getBookmarkIdsForURI(uri, count);
|
||||
}
|
||||
catch (e) { return false; }
|
||||
|
||||
return count.value > 0;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user