mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-04-19 05:41:00 +00:00
fixed a bug with icon positioning
This commit is contained in:
parent
014bbbcc4a
commit
5aa980fdb4
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('data-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