Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Remember to add the class

  • Loading branch information...
commit e1184e407279ef5655dfc961a83c9888b33d3e62 1 parent 57f1fdb
Simon Ljungberg authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 navigationbar.js
View
4 navigationbar.js
@@ -231,6 +231,10 @@ var navigationbar = (function ($) {
$('<button class="navbar-utility-new" />').text(value)
.appendTo('.navbar-right-placeholder');
+ if (aClass) {
+ $('.navbar-utility-navbar').addClass(aClass);
+ }
+
if (typeof callback == 'function') {
$('.navbar-utility-new').click(function () {
callback();
Please sign in to comment.
Something went wrong with that request. Please try again.