mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 17:27:58 +01:00
Fix issue with smooth-scroll.js
This commit is contained in:
@@ -477,7 +477,8 @@ var Mappings = Module("mappings", {
|
||||
return;
|
||||
}
|
||||
|
||||
if (args[1] && !args["-count"] && !args["-ex"] && !args["-javascript"])
|
||||
if (args[1] && !/^<nop>$/i.test(args[1])
|
||||
&& !args["-count"] && !args["-ex"] && !args["-javascript"])
|
||||
args[1] = "<count>" + args[1];
|
||||
|
||||
let [lhs, rhs] = args;
|
||||
|
||||
Reference in New Issue
Block a user