diff options
author | Kris Maglione <maglione.k@gmail.com> | 2013-02-24 13:30:00 -0800 |
---|---|---|
committer | Kris Maglione <maglione.k@gmail.com> | 2013-02-24 13:30:00 -0800 |
commit | fd5ee858fee43fb23f3818c3ea72f6d197439a4b (patch) | |
tree | 96b4951568caa002ad826f64dd4daddeab868b3f | |
parent | 1fc0df9d03ddf5a5d8e8007e97cd9f3189523c8f (diff) | |
download | pentadactyl-fd5ee858fee43fb23f3818c3ea72f6d197439a4b.tar.gz |
Fix :w bug.
-rw-r--r-- | common/content/hints.js | 1 | ||||
-rw-r--r-- | common/modules/buffer.jsm | 2 |
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" |