diff --git a/js/privatebin.js b/js/privatebin.js index a7c2207..1c1c99a 100644 --- a/js/privatebin.js +++ b/js/privatebin.js @@ -2730,15 +2730,14 @@ jQuery.PrivateBin = (function($, sjcl, Base64, RawDeflate) { }; /** - * collapses the navigation bar if nedded + * collapses the navigation bar, only if expanded * * @name TopNav.collapseBar * @function */ me.collapseBar = function() { - if ($('#navbar').attr('aria-expanded')) { - // if so, toggle it + if ($('#navbar').attr('aria-expanded') == 'true') { $('.navbar-toggle').click(); } }; diff --git a/tpl/bootstrap.php b/tpl/bootstrap.php index 19f9e27..40c4739 100644 --- a/tpl/bootstrap.php +++ b/tpl/bootstrap.php @@ -75,7 +75,7 @@ if ($MARKDOWN): - + diff --git a/tpl/page.php b/tpl/page.php index 356c82a..09456b7 100644 --- a/tpl/page.php +++ b/tpl/page.php @@ -54,7 +54,7 @@ if ($QRCODE): - +