summaryrefslogtreecommitdiff
path: root/public/js
diff options
context:
space:
mode:
authorWu Cheng-Han2017-02-03 21:59:26 +0800
committerWu Cheng-Han2017-02-03 21:59:26 +0800
commit0a3baec5b6bf6340fb7dfee3dce18807b01acfa6 (patch)
tree3aab8a8058304ef0efdd670e8c2c0a1b2dabf754 /public/js
parent8cfbfa43520a298637b6f4e3137e4dea9d09e34d (diff)
Fix missing type declaration in text complete strategy
Diffstat (limited to '')
-rw-r--r--public/js/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/js/index.js b/public/js/index.js
index dd26d379..9b42e79c 100644
--- a/public/js/index.js
+++ b/public/js/index.js
@@ -3953,7 +3953,7 @@ $(editor.getInputField())
match: /(?:^|\n|\s)(\>.*|\s|)((\^|)\[(\^|)\](\[\]|\(\)|\:|)\s*\w*)$/,
search: function (term, callback) {
var line = editor.getLine(editor.getCursor().line);
- quote = line.match(this.match)[1].trim();
+ var quote = line.match(this.match)[1].trim();
var list = [];
if (quote.indexOf('>') == 0) {
$.map(supportExtraTags, function (extratag) {