summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorFlorian Schunk <florian.schunk@rwth-aachen.de>2019-01-02 18:05:09 +0100
committerFlorian Schunk <florian.schunk@rwth-aachen.de>2019-01-09 11:28:51 +0100
commit2cebdbbf2de5f51236f75ecd4461ad09a226e763 (patch)
tree60bbdac85aa17e2c64311da881be63478c09ad39 /core
parent2fa36a768f099e3f876635782662110b19034939 (diff)
downloadnextcloud-server-2cebdbbf2de5f51236f75ecd4461ad09a226e763.tar.gz
nextcloud-server-2cebdbbf2de5f51236f75ecd4461ad09a226e763.zip
use triple equal signs according to style guide
Signed-off-by: Florian Schunk <florian.schunk@rwth-aachen.de>
Diffstat (limited to 'core')
-rw-r--r--core/js/oc-dialogs.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/js/oc-dialogs.js b/core/js/oc-dialogs.js
index 3cfff718d58..ed09b4121a7 100644
--- a/core/js/oc-dialogs.js
+++ b/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
});