Skip to content
Prev Previous commit
use triple equal signs according to style guide
Signed-off-by: Florian Schunk <[email protected]>
  • Loading branch information
rummatee committed Jan 9, 2019
commit 2cebdbbf2de5f51236f75ecd4461ad09a226e763
2 changes: 1 addition & 1 deletion core/js/oc-dialogs.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
});
Expand Down