Mottie / Keyboard

Virtual Keyboard using jQuery ~
http://mottie.github.io/Keyboard/
Other
1.78k stars 723 forks source link

Bug in autocomplete extensen. #520

Closed kubili closed 7 years ago

kubili commented 7 years ago

In function base.autocomplete_getVal you should set preview value only if preview exists. Same problem occures if keybored was opened and then closed the base.$preview becomes undefined .

Code to update:

if (base.hasAutocomplete && v !== '') {}
Mottie commented 7 years ago

Hi @kubili!

Thanks for reporting this problem. I'll have it fixed shortly.