Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #4909 from marcins/issue-4901

Listview: add extra check to fix issue #4901
  • Loading branch information...
commit fe035d02d2c79dc87e9ca6ceb10772dd0bf30c59 2 parents 5a6b2c3 + a77c00a
@jaspermdegroot jaspermdegroot authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  js/widgets/listview.autodividers.js
View
2  js/widgets/listview.autodividers.js
@@ -26,7 +26,7 @@ $( document ).delegate( "ul,ol", "listviewcreate", function() {
var list = $( this ),
listview = list.data( "listview" );
- if ( !listview.options.autodividers ) {
+ if ( !listview || !listview.options.autodividers ) {
return;
}
Please sign in to comment.
Something went wrong with that request. Please try again.