Combine single path conditional
This commit is contained in:
parent
8961a2ee28
commit
db5ff5f311
|
@ -398,10 +398,8 @@ $.fn.autocomplete = function(options) {
|
|||
term += (e.shiftKey) ? "|" : "]";
|
||||
} else if (e.which === 222) {
|
||||
term += (e.shiftKey) ? "\"" : "'";
|
||||
} else {
|
||||
if (e.which !== 8) {
|
||||
term += ",";
|
||||
}
|
||||
} else if (e.which !== 8) {
|
||||
term += ",";
|
||||
}
|
||||
|
||||
updateAutoComplete(options.dataSource(term));
|
||||
|
|
Loading…
Reference in New Issue