mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 03:57:59 +01:00
Fix :w bug.
This commit is contained in:
@@ -863,6 +863,7 @@ var Hints = Module("hints", {
|
||||
else if (option == "label") {
|
||||
if (elem.id) {
|
||||
let label = (elem.ownerDocument.dactylLabels || {})[elem.id];
|
||||
// Urgh.
|
||||
if (label)
|
||||
return [label.textContent.toLowerCase(), true];
|
||||
}
|
||||
|
||||
@@ -1719,7 +1719,7 @@ var Buffer = Module("Buffer", {
|
||||
|
||||
dactyl.assert(args.bang || !file.exists(), _("io.exists"));
|
||||
|
||||
chosenData = { file: file, uri: util.newURI(doc.location.href) };
|
||||
chosenData = { file: file.file, uri: util.newURI(doc.location.href) };
|
||||
}
|
||||
|
||||
// if browser.download.useDownloadDir = false then the "Save As"
|
||||
|
||||
Reference in New Issue
Block a user