use triple equal signs according to style guide

Signed-off-by: Florian Schunk <florian.schunk@rwth-aachen.de>
This commit is contained in:
Florian Schunk 2019-01-02 18:05:09 +01:00
parent 2fa36a768f
commit 2cebdbbf2d
1 changed files with 1 additions and 1 deletions

View File

@ -298,7 +298,7 @@ var OCdialogs = {
try {
if (!Files.isFileNameValid(filename)) {
// Files.isFileNameValid(filename) throws an exception itself
} else if (self.filelist.find(function(file){return file.name == this;},filename)) {
} else if (self.filelist.find(function(file){return file.name === this;},filename)) {
throw t('files', '{newName} already exists', {newName: filename}, undefined, {
escape: false
});