attributes contain strings, not booleans

pull/308/head
El RIDO 6 years ago
parent 76debde85b
commit 0938b59b90
No known key found for this signature in database
GPG Key ID: 0F5C940A6BD81F92

@ -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();
}
};

@ -75,7 +75,7 @@ if ($MARKDOWN):
<?php
endif;
?>
<script type="text/javascript" src="js/privatebin.js?<?php echo rawurlencode($VERSION); ?>" integrity="sha512-4UWESerlTU/BJPR9ew+ILaiLunjhQa+9asT2/1MY2zQ2dSxnJ3orDUFOq4CU+KrnkK/9sWwmUobshOUGkVMygQ==" crossorigin="anonymous"></script>
<script type="text/javascript" src="js/privatebin.js?<?php echo rawurlencode($VERSION); ?>" integrity="sha512-4FhlV3SGdZZDDRIrK5D2Puk62mehFojDOjm0wvOlhuHBxSKSXw5erCi869ZDa/cz6j27b9KidKBnB5XlF+EAkA==" crossorigin="anonymous"></script>
<!--[if lt IE 10]>
<style type="text/css">body {padding-left:60px;padding-right:60px;} #ienotice {display:block;} #oldienotice {display:block;}</style>
<![endif]-->

@ -54,7 +54,7 @@ if ($QRCODE):
<?php
endif;
?>
<script type="text/javascript" src="js/privatebin.js?<?php echo rawurlencode($VERSION); ?>" integrity="sha512-4UWESerlTU/BJPR9ew+ILaiLunjhQa+9asT2/1MY2zQ2dSxnJ3orDUFOq4CU+KrnkK/9sWwmUobshOUGkVMygQ==" crossorigin="anonymous"></script>
<script type="text/javascript" src="js/privatebin.js?<?php echo rawurlencode($VERSION); ?>" integrity="sha512-4FhlV3SGdZZDDRIrK5D2Puk62mehFojDOjm0wvOlhuHBxSKSXw5erCi869ZDa/cz6j27b9KidKBnB5XlF+EAkA==" crossorigin="anonymous"></script>
<!--[if lt IE 10]>
<style type="text/css">body {padding-left:60px;padding-right:60px;} #ienotice {display:block;} #oldienotice {display:block;}</style>
<![endif]-->

Loading…
Cancel
Save