mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-03 06:44:13 +01:00
Allow superfluous trailing space in :tb* commands. Closes issue #205.
This commit is contained in:
@@ -1932,7 +1932,8 @@ var Dactyl = Module("dactyl", XPCOM(Ci.nsISupportsWeakReference, ModuleBase), {
|
||||
{ argCount: "0" });
|
||||
|
||||
function findToolbar(name) util.evaluateXPath(
|
||||
"//*[@toolbarname=" + util.escapeString(name, "'") + "]",
|
||||
"//*[@toolbarname=" + util.escapeString(name, "'") + " or " +
|
||||
"@toolbarname=" + util.escapeString(name.trim(), "'") + "]",
|
||||
document).snapshotItem(0);
|
||||
|
||||
var toolbox = document.getElementById("navigator-toolbox");
|
||||
|
||||
Reference in New Issue
Block a user