diff --git a/desktop/sources/scripts/commander.js b/desktop/sources/scripts/commander.js index 283610c..88bda0e 100644 --- a/desktop/sources/scripts/commander.js +++ b/desktop/sources/scripts/commander.js @@ -119,7 +119,7 @@ function Commander (ronin) { } this.commit = function (shape) { - if (this._input.value.indexOf('$') < 0) { return } + if (this.cache.indexOf('$') < 0) { return } const segs = this.cache.split('$') const seg = segs[1] const words = seg.split(' ')