1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-25 07:32:39 +01:00

Muck with statusline history stuff.

This commit is contained in:
Kris Maglione
2011-06-03 18:46:24 -04:00
parent cd0fba415e
commit 0ed9dc335b
2 changed files with 4 additions and 4 deletions

View File

@@ -232,9 +232,9 @@ var StatusLine = Module("statusline", {
if (uri.equals(buffer.uri) && window.getWebNavigation) {
let sh = window.getWebNavigation().sessionHistory;
if (sh && sh.index > 0)
modified += "+";
if (sh && sh.index < sh.count - 1)
modified += "-";
if (sh && sh.index < sh.count - 1)
modified += "+";
if (this.bookmarked)
modified += UTF8("❤");
}

View File

@@ -255,8 +255,8 @@
</li>
<li>
<em>History and bookmark status</em> (<tt>[+-❤⋯]</tt>): The position
of the current page in the tab's session history; <tt>+</tt> and
<tt>-</tt> indicate that it is possible to move backwards and forwards
of the current page in the tab's session history; <tt>-</tt> and
<tt>+</tt> indicate that it is possible to move backwards and forwards
through the history respectively. ❤ indicates that the current page is
bookmarked. Any other character indicates a QuickMark matching the
current page.