1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-22 15:55:47 +01:00

Don't overwrite existing files with ;s.

Closes issue #914.
This commit is contained in:
Doug Kearns
2012-10-11 00:59:44 +11:00
parent 0a51732d0e
commit 50597cc80a
3 changed files with 7 additions and 1 deletions

View File

@@ -746,6 +746,7 @@ var Hints = Module("hints", {
this.modes = {};
this.addMode(";", "Focus hint", buffer.closure.focusElement);
this.addMode("?", "Show information for hint", function (elem) buffer.showElementInfo(elem));
// TODO: allow for ! override to overwrite existing paths -- where? --djk
this.addMode("s", "Save hint", function (elem) buffer.saveLink(elem, false));
this.addMode("f", "Focus frame", function (elem) dactyl.focus(elem.ownerDocument.defaultView));
this.addMode("F", "Focus frame or pseudo-frame", buffer.closure.focusElement, isScrollable);