mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-05-05 21:24:45 +00:00
typo on the data-iconpos check
This commit is contained in:
parent
25327445e0
commit
d498e20aca
1 changed files with 1 additions and 1 deletions
|
|
@ -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')
|
||||
|
|
|
|||
Loading…
Reference in a new issue