1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-22 19:27:58 +01:00

Fix some zi/zo issues.

This commit is contained in:
Kris Maglione
2009-03-30 01:16:39 -04:00
parent a8f41faf4e
commit 7e068d4f9e
7 changed files with 40 additions and 71 deletions

View File

@@ -2105,23 +2105,21 @@ function StatusLine() //{{{
}
// when session information is available, add [+] when we can go backwards
let modified = "";
if (window.getWebNavigation)
if (config.name == "Vimperator")
{
let sh = window.getWebNavigation().sessionHistory;
let modified = "";
if (sh.index > 0)
modified += "+";
if (sh.index < sh.count -1)
modified += "-";
}
if (liberator.has("bookmarks")) {
if (bookmarks.isBookmarked(buffer.URL))
modified += "\u2764"; // a heart symbol: ❤
//modified += "\u2665"; // a heart symbol: ♥
}
if (modified)
url += " [" + modified + "]";
if (modified)
url += " [" + modified + "]";
}
urlWidget.value = url;
},