summaryrefslogtreecommitdiff
path: root/assets/js/tokeninput.js
diff options
context:
space:
mode:
Diffstat (limited to 'assets/js/tokeninput.js')
-rw-r--r--assets/js/tokeninput.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/assets/js/tokeninput.js b/assets/js/tokeninput.js
index 41c8762..72a3c82 100644
--- a/assets/js/tokeninput.js
+++ b/assets/js/tokeninput.js
@@ -1254,7 +1254,7 @@
T.prototype.onSpace = function( e ) {
if ( this.options.spaceToAdd ) {
var val = this.getInputElementValue();
- if (val.startsWith('"')) {
+ if (val.startsWith('"') || (val.search(/:"/) !== -1)) {
if (val.endsWith('"')) {
this.onEnter( e );
}