summaryrefslogtreecommitdiffstats
path: root/core/js/jquery.ocdialog.js
diff options
context:
space:
mode:
authorFlorian Schunk <florian.schunk@rwth-aachen.de>2018-12-31 19:10:41 +0100
committerFlorian Schunk <florian.schunk@rwth-aachen.de>2019-01-09 11:28:51 +0100
commitdd0b0d8711adf3f36b4a83ec46be5caadb2f597e (patch)
tree2611b2289aba18cdb57c1018fdcd9c8aa750c52e /core/js/jquery.ocdialog.js
parent0134ca51f1225516de9f141784eac06f50aa9079 (diff)
downloadnextcloud-server-dd0b0d8711adf3f36b4a83ec46be5caadb2f597e.tar.gz
nextcloud-server-dd0b0d8711adf3f36b4a83ec46be5caadb2f597e.zip
use triple equal signs according to style guide
Signed-off-by: Florian Schunk <florian.schunk@rwth-aachen.de>
Diffstat (limited to 'core/js/jquery.ocdialog.js')
-rw-r--r--core/js/jquery.ocdialog.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/js/jquery.ocdialog.js b/core/js/jquery.ocdialog.js
index daf6cf3ca5c..1610d8ac463 100644
--- a/core/js/jquery.ocdialog.js
+++ b/core/js/jquery.ocdialog.js
@@ -56,7 +56,7 @@
// Enter
if(event.keyCode === 13) {
event.stopImmediatePropagation();
- if (self.enterCallback != null) {
+ if (self.enterCallback !== null) {
self.enterCallback();
event.preventDefault();
return false;