mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-03 13:54:12 +01:00
Add a half slew of generic command execution/completion/code coverage tests. Add unhandled exception checking to tests. Fix some detected merge artifacts.
This commit is contained in:
@@ -204,7 +204,9 @@ var CommandWidgets = Class("CommandWidgets", {
|
||||
|
||||
[this.commandbar, this.statusbar].forEach(function (nodeSet) {
|
||||
let elem = nodeSet[obj.name];
|
||||
if (val != null) {
|
||||
if (val == null)
|
||||
elem.value = "";
|
||||
else {
|
||||
highlight.highlightNode(elem,
|
||||
(val[0] != null ? val[0] : obj.defaultGroup)
|
||||
.split(/\s/).filter(util.identity)
|
||||
|
||||
Reference in New Issue
Block a user