Combine single path conditional

This commit is contained in:
Nick Schonning 2014-03-07 01:31:14 -05:00
parent 8961a2ee28
commit db5ff5f311
1 changed files with 2 additions and 4 deletions

View File

@ -398,11 +398,9 @@ $.fn.autocomplete = function(options) {
term += (e.shiftKey) ? "|" : "]";
} else if (e.which === 222) {
term += (e.shiftKey) ? "\"" : "'";
} else {
if (e.which !== 8) {
} else if (e.which !== 8) {
term += ",";
}
}
updateAutoComplete(options.dataSource(term));
return true;