use triple equal signs according to style guide

Signed-off-by: Florian Schunk <florian.schunk@rwth-aachen.de>
pull/13177/head
Florian Schunk 7 years ago
parent 2fa36a768f
commit 2cebdbbf2d
  1. 2
      core/js/oc-dialogs.js

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

Loading…
Cancel
Save