mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-29 03:22:27 +01:00
Fix some functions that used to use args.string.
This commit is contained in:
@@ -1240,8 +1240,8 @@ const Options = Module("options", {
|
||||
commands.add(["let"],
|
||||
"Set or list a variable",
|
||||
function (args) {
|
||||
args = args.literalArg.trim();
|
||||
function fmt(value) (typeof value == "number" ? "#" :
|
||||
args = (args[0] || "").trim();
|
||||
function fmt(value) (typeof value == "number" ? "#" :
|
||||
typeof value == "function" ? "*" :
|
||||
" ") + value;
|
||||
if (!args || args == "g:") {
|
||||
|
||||
Reference in New Issue
Block a user