aboutsummaryrefslogtreecommitdiffstats
path: root/core/js/oc-dialogs.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/oc-dialogs.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/oc-dialogs.js')
-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 0ef371cd754..61d55d4402f 100644
--- a/core/js/oc-dialogs.js
+++ b/core/js/oc-dialogs.js
@@ -331,7 +331,7 @@ var OCdialogs = {
}
});
$input.keypress(function(event) {
- if (event.keyCode == 13 || event.which == 13) {
+ if (event.keyCode === 13 || event.which === 13) {
event.stopImmediatePropagation();
event.preventDefault();
$form.submit();