mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-04-11 18:01:01 +00:00
removed a couple brackets in attr() methods.
This commit is contained in:
parent
37f16c3022
commit
d6e17cafdd
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue