docs icon indicating copy to clipboard operation
docs copied to clipboard

typeahead race condition

Open gilday opened this issue 8 years ago • 0 comments

If you start typing in the typeahead too soon after loading the page, you get errors that you cannot recover from without refreshing and trying again.

Uncaught TypeError: Cannot read property 'search' of undefined
    at c.i.length.i.typeahead.source (opendocs.49215c98af7f1381.js:1)
    at c.update (typeahead.jquery.min.4b525e49c674b812.js:7)
    at c (typeahead.jquery.min.4b525e49c674b812.js:7)
    at c.d (typeahead.jquery.min.4b525e49c674b812.js:7)
    at Function.each (jquery.min.js:2)
    at Object.each (typeahead.jquery.min.4b525e49c674b812.js:7)
    at a.update (typeahead.jquery.min.4b525e49c674b812.js:7)
    at c._onQueryChanged (typeahead.jquery.min.4b525e49c674b812.js:7)
    at typeahead.jquery.min.4b525e49c674b812.js:7
    at String.d (typeahead.jquery.min.4b525e49c674b812.js:7)

gilday avatar Jun 08 '17 13:06 gilday