1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-30 16:50:00 +02:00

Merge branch '2.0-wip' of github.com:twitter/bootstrap into 2.0-wip

Conflicts:
	docs/less.html
This commit is contained in:
Mark Otto
2012-01-24 23:36:39 -08:00
2 changed files with 10 additions and 7 deletions

View File

@@ -119,7 +119,7 @@ $(function(){
// fix sub nav playa
var $win = $(window)
, $nav = $('.subnav')
, navTop = $('.subnav').offset().top - 40
, navTop = $('.subnav').length && $('.subnav').offset().top - 40
, isFixed = 0
processScroll()