We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4caf64 commit 6731d9cCopy full SHA for 6731d9c
src/jquery.typeahead.js
@@ -3780,9 +3780,6 @@
3780
3781
node = $(options.input);
3782
}
3783
- if (typeof node[0].value === "undefined") {
3784
- node[0].value = node.text();
3785
- }
3786
if (!node.length) {
3787
// {debug}
3788
_debug.log({
@@ -3797,6 +3794,9 @@
3797
3794
3798
3795
return;
3799
3796
+ if (typeof node[0].value === "undefined") {
+ node[0].value = node.text();
+ }
3800
3801
// #270 Forcing node.selector, the property was deleted from jQuery3
3802
// In case of multiple init, each of the instances needs it's own selector!
0 commit comments