Permalink
Browse files

Remember to add the class

  • Loading branch information...
1 parent 57f1fdb commit e1184e407279ef5655dfc961a83c9888b33d3e62 Simon Ljungberg committed Dec 8, 2010
Showing with 4 additions and 0 deletions.
  1. +4 −0 navigationbar.js
View
@@ -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();

0 comments on commit e1184e4

Please sign in to comment.