mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-16 21:32:31 +02:00
Fix :w bug.
This commit is contained in:
1 parent
1fc0df9d03
commit
fd5ee858fe
2 files changed
+2
-1
No files matched your search
@@ -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