fixes 1) in #33

This commit is contained in:
Hannes Mannerheim 2016-02-16 14:37:16 +01:00
parent 5675069b6b
commit 1e57eba7d1
2 changed files with 9 additions and 8 deletions

File diff suppressed because one or more lines are too long

View File

@ -2962,7 +2962,8 @@ $('body').on('keyup paste input', 'div.queet-box-syntax', function() {
|| currentMatch[0].slice(-1) == ':'
|| currentMatch[0].slice(-1) == '.'
|| currentMatch[0].slice(-1) == ','
|| currentMatch[0].slice(-1) == ')') {
|| currentMatch[0].slice(-1) == ')'
|| currentMatch[0].slice(-1) == '\'') {
currentMatch[0] = currentMatch[0].slice(0,-1);
}