mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 00:27:57 +01:00
Show link target with ;;.
This commit is contained in:
@@ -110,9 +110,11 @@ var StatusLine = Module("statusline", {
|
||||
"browser.overLink": function (link) {
|
||||
switch (options["showstatuslinks"]) {
|
||||
case "status":
|
||||
this.overLink = link ? _("status.link", link) : null;
|
||||
this.status = link ? _("status.link", link) : buffer.uri;
|
||||
break;
|
||||
case "command":
|
||||
this.overLink = null;
|
||||
if (link)
|
||||
dactyl.echo(_("status.link", link), commandline.FORCE_SINGLELINE);
|
||||
else
|
||||
@@ -250,7 +252,7 @@ var StatusLine = Module("statusline", {
|
||||
|
||||
updateStatus: function updateStatus() {
|
||||
this.timeout(function () {
|
||||
this.status = buffer.uri;
|
||||
this.status = this.overLink || buffer.uri;
|
||||
});
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user