Skip to content

JS Error from Version 3.10.x and forward #533

Closed
@designerbrent

Description

@designerbrent

I recently noticed that we have an JS error in the console on every site running ALPS 3.10.0 and newer. That is the version that came with the new search patterns in #519.

The error that shows is the following:

Uncaught TypeError: Cannot read property 'length' of undefined
    at 3.11.0-script.min.js:4
    at 3.11.0-script.min.js:4
(anonymous) @ 3.11.0-script.min.js:4
(anonymous) @ 3.11.0-script.min.js:4

That points to this line:

if (searchInput.blur && searchInput.val().length == 0) {

Please take a look at what we can do to resolve this bug.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions