summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Xu (Hello71) <alex_y_xu@yahoo.ca>2018-09-19 15:11:10 -0400
committerAlex Xu (Hello71) <alex_y_xu@yahoo.ca>2018-09-19 15:11:10 -0400
commit07a03aa6411db45022c3d2bb6549281a56c5292d (patch)
tree32a3e4d27cea8969241242f96ec3e6c56fe7bdf1
parent1b22d0df2382ccb50c8f2ecec3436081c275c730 (diff)
downloadyorku-course-query-07a03aa6411db45022c3d2bb6549281a56c5292d.tar.xz
yorku-course-query-07a03aa6411db45022c3d2bb6549281a56c5292d.zip
use template string instead of +
-rw-r--r--script.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/script.js b/script.js
index dbece30..43740fa 100644
--- a/script.js
+++ b/script.js
@@ -122,7 +122,7 @@ function ready() {
input.value.split(TOKEN_DELIM_RE).forEach(function (token) {
if (!token || tryParse(token) || tryParse(token.toUpperCase()))
return;
- warn.push("don't understand search term: " + token);
+ warn.push(`don't understand search term: ${token}`);
});
if (!state.subj && state.maybeSubj) {