Skip to content

Commit fea3104

Browse files
committed
use triple equal signs according to style guide
Signed-off-by: Florian Schunk <[email protected]>
1 parent 6b62630 commit fea3104

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/js/oc-dialogs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ var OCdialogs = {
298298
try {
299299
if (!Files.isFileNameValid(filename)) {
300300
// Files.isFileNameValid(filename) throws an exception itself
301-
} else if (self.filelist.find(function(file){return file.name == this;},filename)) {
301+
} else if (self.filelist.find(function(file){return file.name === this;},filename)) {
302302
throw t('files', '{newName} already exists', {newName: filename}, undefined, {
303303
escape: false
304304
});

0 commit comments

Comments
 (0)