1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-07 17:04:12 +01:00

Revert "Fix some zi/zo issues."

This reverts commit b39be7b367528d9a86380c3ec5c2a6fcafd2cd22.
This commit is contained in:
Kris Maglione
2009-03-30 01:19:29 -04:00
parent 5f27bf99da
commit 2a88d8a3bf
7 changed files with 71 additions and 40 deletions

View File

@@ -2105,22 +2105,24 @@ function StatusLine() //{{{
}
// when session information is available, add [+] when we can go backwards
if (config.name == "Vimperator")
let modified = "";
if (window.getWebNavigation)
{
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;
},