mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-22 09:15:46 +01:00
Muck with statusline history stuff.
This commit is contained in:
@@ -232,9 +232,9 @@ var StatusLine = Module("statusline", {
|
|||||||
if (uri.equals(buffer.uri) && window.getWebNavigation) {
|
if (uri.equals(buffer.uri) && window.getWebNavigation) {
|
||||||
let sh = window.getWebNavigation().sessionHistory;
|
let sh = window.getWebNavigation().sessionHistory;
|
||||||
if (sh && sh.index > 0)
|
if (sh && sh.index > 0)
|
||||||
modified += "+";
|
|
||||||
if (sh && sh.index < sh.count - 1)
|
|
||||||
modified += "-";
|
modified += "-";
|
||||||
|
if (sh && sh.index < sh.count - 1)
|
||||||
|
modified += "+";
|
||||||
if (this.bookmarked)
|
if (this.bookmarked)
|
||||||
modified += UTF8("❤");
|
modified += UTF8("❤");
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -255,8 +255,8 @@
|
|||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<em>History and bookmark status</em> (<tt>[+-❤⋯]</tt>): The position
|
<em>History and bookmark status</em> (<tt>[+-❤⋯]</tt>): The position
|
||||||
of the current page in the tab's session history; <tt>+</tt> and
|
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
|
<tt>+</tt> indicate that it is possible to move backwards and forwards
|
||||||
through the history respectively. ❤ indicates that the current page is
|
through the history respectively. ❤ indicates that the current page is
|
||||||
bookmarked. Any other character indicates a QuickMark matching the
|
bookmarked. Any other character indicates a QuickMark matching the
|
||||||
current page.
|
current page.
|
||||||
|
|||||||
Reference in New Issue
Block a user