typo on the data-iconpos check

This commit is contained in:
scottjehl 2010-11-11 13:01:09 -05:00
parent 25327445e0
commit d498e20aca

View file

@ -12,7 +12,7 @@ $.widget( "mobile.navbar", $.mobile.widget, {
_create: function(){
var $navbar = this.element,
$navbtns = $navbar.find("a"),
iconpos = $navbtns.filter('icon').length ? this.options.iconpos : undefined;
iconpos = $navbtns.filter('data-icon').length ? this.options.iconpos : undefined;
$navbar
.addClass('ui-navbar')