diff --git a/js/privatebin.js b/js/privatebin.js index a7c22075..1c1c99aa 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 19f9e27e..40c47392 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 356c82ab..09456b71 100644 --- a/tpl/page.php +++ b/tpl/page.php @@ -54,7 +54,7 @@ if ($QRCODE): - +