Ok, sometimes it takes filing a support request to empty your head so you can find the problem….
I finally noticed your note at the end of the Bootstrap specific page…
The default options used in jquery.smartmenus.bootstrap.js should work well for all. However, you can, of course, tweak them if you like.
I altered the starting lines like so…
$('ul.navbar-nav.sm').each(function() { // <- added the '.sm'
var $this = $(this);
$this.smartmenus({ // <- removed the '.addClass('sm')'
...
});
});
While it was a simple fix, it’s a bit of a PITA to have to change this every time you update your codebase, would have preferred this to be some form of call time param.
Anyhow, thanks for a great piece of code!
Cheers,
Kevin.