This repository has been archived by the owner on Oct 8, 2021. It is now read-only.
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.
Missing undefined listview var check on line 8878 #5643
Labels
Milestone
At line 8878 of jqm 1.3.0-rc.1 it happened in certain circumstances to have listview variable undefined, and as there is no check, trying to access listview.options returns a JS error.
if ( !listview.options.filter ) {
should become
if ( !listview || !listview.options.filter ) {
as done in another case at line 6590
The text was updated successfully, but these errors were encountered: