Reply To: Bootstrap addon carets dissapear when i center nav

Home Forums Older releases 1.0.x + Bootstrap addon Bootstrap addon carets dissapear when i center nav Reply To: Bootstrap addon carets dissapear when i center nav

#3174
clarkito
Participant

i found the answer! if anyone has problem with carets disappearing when centering the nav. reading up on previous posts, @vadikom suggested updating somewhere

in jquery.smartmenus.bootstrap.js


// custom "isCollapsible" method for Bootstrap

obj.isCollapsible = function() {
	return !/^(left|right)$/.test(this.$firstLink.parent().css('float'));
};

where it says (left|right)
change to (left|right|none)

then the carets show when content of bootstrap smartmenu is centered too

Register

You will be emailed a link to set your password.

Login

Lost password?