set default for fixedAs option to "footer"

This commit is contained in:
scottjehl 2010-09-14 12:57:03 -04:00
parent cfe571e94f
commit 04af5885fe

View file

@ -8,7 +8,7 @@
$.fn.globalnav = function(settings){
return $(this).each(function(){ //there should only ever be one of these... is each necessary?
var o = $.extend({
fixedAs: 'header'
fixedAs: 'footer'
},settings);
//wrap it with footer classes