1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 06:07:59 +01:00

Fix :w bug.

This commit is contained in:
Kris Maglione
2013-02-24 13:30:00 -08:00
parent 1fc0df9d03
commit fd5ee858fe
2 changed files with 2 additions and 1 deletions

View File

@@ -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];
}

View File

@@ -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"