should use typesafe comparison in JS and adding forgotten modal dialog in bootstrap-dark-page

This commit is contained in:
El RIDO 2016-11-13 18:22:37 +01:00
parent 0493cf4463
commit 3f2de319f3
No known key found for this signature in database
GPG key ID: 0F5C940A6BD81F92
7 changed files with 22 additions and 7 deletions

View file

@ -615,7 +615,7 @@ $(function() {
*/
requestPassword: function()
{
if (this.passwordModal.length == 0) {
if (this.passwordModal.length === 0) {
var password = prompt(i18n._('Please enter the password for this paste:'), '');
if (password === null)
{