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
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)
{