Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Listview: add extra check to fix issue #4901 #4909

Merged
merged 1 commit into from Aug 30, 2012
Jump to file or symbol
Failed to load files and symbols.
+1 −1
Split
@@ -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;
}