summaryrefslogtreecommitdiffstats
path: root/core/js/jquery.ocdialog.js
diff options
context:
space:
mode:
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;