Reply To: Bootstrap navbar-right elements position

Home Forums Older releases 1.0.x + Bootstrap addon Bootstrap navbar-right elements position Reply To: Bootstrap navbar-right elements position

#2791
admin
Keymaster

Ah, yes, there seems to be an issue in “jquery.smartmenus.bootstrap.js” since Bootstrap doesn’t support RTL navbars natively so this has not been a tested case. Anyway, just find the following:

	// fix collapsible menu detection for Bootstrap 3
	$.SmartMenus.prototype.isCollapsible = function() {
		return this.$firstLink.parent().css('float') != 'left';
	};

and replace it with the following:

	// fix collapsible menu detection for Bootstrap 3
	$.SmartMenus.prototype.isCollapsible = function() {
		return !/^(left|right)$/.test(this.$firstLink.parent().css('float'));
	};

and it should work fine. This will be fixed in the next release.

Please let me know if you still have any troubles.

Cheers!

Register

You will be emailed a link to set your password.

Login

Lost password?