mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-03-16 22:10:25 +00:00
Coding standards
This commit is contained in:
parent
547a82c44c
commit
595a2371f2
1 changed files with 5 additions and 5 deletions
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
$.widget( "mobile.navbar", $.mobile.widget, {
|
||||
options: {
|
||||
iconpos: 'top',
|
||||
iconpos: "top",
|
||||
grid: null
|
||||
},
|
||||
|
||||
|
|
@ -20,10 +20,10 @@ $.widget( "mobile.navbar", $.mobile.widget, {
|
|||
iconpos = $navbtns.filter( ":jqmData(icon)" ).length ?
|
||||
this.options.iconpos : undefined;
|
||||
|
||||
$navbar.addClass('ui-navbar')
|
||||
.attr("role","navigation")
|
||||
.find("ul")
|
||||
.grid({grid: this.options.grid });
|
||||
$navbar.addClass( "ui-navbar ")
|
||||
.attr( "role","navigation" )
|
||||
.find( "ul" )
|
||||
.grid({ grid: this.options.grid });
|
||||
|
||||
if ( !iconpos ) {
|
||||
$navbar.addClass( "ui-navbar-noicons" );
|
||||
|
|
|
|||
Loading…
Reference in a new issue