mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-24 07:22:27 +01:00
initial small changes, so muttator loads at least fully
This commit is contained in:
@@ -1141,18 +1141,22 @@ vimperator.StatusLine = function () //{{{
|
||||
url = matches[1] + " [Help]";
|
||||
}
|
||||
|
||||
var sh = getWebNavigation().sessionHistory;
|
||||
var modified = "";
|
||||
if (sh.index > 0)
|
||||
modified += "+";
|
||||
if (sh.index < sh.count -1)
|
||||
modified += "-";
|
||||
if (vimperator.bookmarks.isBookmarked(url))
|
||||
modified += "\u2764"; // a heart symbol: ❤
|
||||
//modified += "\u2665"; // a heart symbol: ♥
|
||||
// when session information is available, add [+] when we can go backwards
|
||||
if (vimperator.config.name == "Vimperator")
|
||||
{
|
||||
var sh = getWebNavigation().sessionHistory;
|
||||
var modified = "";
|
||||
if (sh.index > 0)
|
||||
modified += "+";
|
||||
if (sh.index < sh.count -1)
|
||||
modified += "-";
|
||||
if (vimperator.bookmarks.isBookmarked(url))
|
||||
modified += "\u2764"; // a heart symbol: ❤
|
||||
//modified += "\u2665"; // a heart symbol: ♥
|
||||
|
||||
if (modified)
|
||||
url += " [" + modified + "]";
|
||||
if (modified)
|
||||
url += " [" + modified + "]";
|
||||
}
|
||||
|
||||
urlWidget.value = url;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user