mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-07 17:35:48 +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" });
|
{ argCount: "0" });
|
||||||
|
|
||||||
function findToolbar(name) util.evaluateXPath(
|
function findToolbar(name) util.evaluateXPath(
|
||||||
"//*[@toolbarname=" + util.escapeString(name, "'") + "]",
|
"//*[@toolbarname=" + util.escapeString(name, "'") + " or " +
|
||||||
|
"@toolbarname=" + util.escapeString(name.trim(), "'") + "]",
|
||||||
document).snapshotItem(0);
|
document).snapshotItem(0);
|
||||||
|
|
||||||
var toolbox = document.getElementById("navigator-toolbox");
|
var toolbox = document.getElementById("navigator-toolbox");
|
||||||
|
|||||||
Reference in New Issue
Block a user