removed a couple brackets in attr() methods.

This commit is contained in:
scottjehl 2010-09-18 11:47:07 -04:00
parent 37f16c3022
commit d6e17cafdd

View file

@ -33,10 +33,10 @@ $.fn.listview = function( options ) {
var list = $( this ),
parent = list.parent(),
title = parent.contents()[ 0 ].nodeValue,
theme = list.attr( "[data-theme]" ) !== undefined ?
theme = list.attr( "data-theme" ) !== undefined ?
list.attr( "data-theme" ) :
o.theme,
countTheme = list.attr( "[data-count-theme]" ) !== undefined ?
countTheme = list.attr( "data-count-theme" ) !== undefined ?
list.attr( "data-count-theme" ) :
o.countTheme;