summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/content/hints.js1
-rw-r--r--common/modules/buffer.jsm2
2 files changed, 2 insertions, 1 deletions
diff --git a/common/content/hints.js b/common/content/hints.js
index c3f42199..51b7ecfe 100644
--- a/common/content/hints.js
+++ b/common/content/hints.js
@@ -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];
}
diff --git a/common/modules/buffer.jsm b/common/modules/buffer.jsm
index 09b7b899..c6509cce 100644
--- a/common/modules/buffer.jsm
+++ b/common/modules/buffer.jsm
@@ -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"