mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-09 13:24:12 +01:00
use "[Help]" in the status line for the internal help page
This commit is contained in:
@@ -1062,8 +1062,16 @@ function StatusLine() //{{{
|
||||
if (!url || typeof url != "string")
|
||||
url = vimperator.buffer.URL;
|
||||
|
||||
// make it even more vim-like
|
||||
if (url == "about:blank")
|
||||
url = "[No Name]"; // make it even more vim-like
|
||||
{
|
||||
var title = vimperator.buffer.title;
|
||||
|
||||
if (title == "Vimperator Help")
|
||||
url = "[Help]";
|
||||
else if (!title)
|
||||
url = "[No Name]";
|
||||
}
|
||||
|
||||
url_widget.value = url;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user