mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-05-18 11:31:06 +00:00
make sure globalnav is only called once on a div
This commit is contained in:
parent
60deedf499
commit
e016cfa6b7
1 changed files with 1 additions and 0 deletions
|
|
@ -7,6 +7,7 @@
|
|||
(function($){
|
||||
$.fn.globalnav = function(settings){
|
||||
return $(this).each(function(){ //there should only ever be one of these... is each necessary?
|
||||
if($(this).find('.ui-globalnav').length){ return; }
|
||||
var o = $.extend({
|
||||
fixedAs: 'footer'
|
||||
},settings);
|
||||
|
|
|
|||
Loading…
Reference in a new issue