m (test3) |
m (test4) |
||
Line 412: | Line 412: | ||
$('.sub-navbar-item').each(function(i, obj) { | $('.sub-navbar-item').each(function(i, obj) { | ||
− | if ($($clickItem).hasClass("sub-navbar-item")) { | + | /*if ($($clickItem).hasClass("sub-navbar-item")) { |
if ($(obj).is(":visible") && $(obj).hasClass("small")) { | if ($(obj).is(":visible") && $(obj).hasClass("small")) { | ||
if ($totalWidth == 0) { | if ($totalWidth == 0) { | ||
Line 426: | Line 426: | ||
$totalWidth = $totalWidth + $(obj).width(); | $totalWidth = $totalWidth + $(obj).width(); | ||
} | } | ||
− | } | + | }*/ |
}); | }); | ||
/*$newPos = ($middle - ($totalWidth * 0.5)); | /*$newPos = ($middle - ($totalWidth * 0.5)); | ||
Line 460: | Line 460: | ||
resizeNavbar(); | resizeNavbar(); | ||
}, 10); | }, 10); | ||
+ | |||
+ | |||
Revision as of 14:35, 23 September 2017