aboutsummaryrefslogtreecommitdiff
path: root/ext/js/display
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-06-25 16:49:47 -0400
committerGitHub <noreply@github.com>2021-06-25 16:49:47 -0400
commitcf70b3de6411cfd540f2c3c7f6e1c27afb10ef84 (patch)
treea672b8194d638cd9b0d909fece3171d27812b92a /ext/js/display
parent4d5e85ff0905bdb4164508b5df30d897de8fbca0 (diff)
Fix search input focus not working properly (#1752)
Diffstat (limited to 'ext/js/display')
-rw-r--r--ext/js/display/search-display-controller.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/js/display/search-display-controller.js b/ext/js/display/search-display-controller.js
index 8743166b..6bdef2c8 100644
--- a/ext/js/display/search-display-controller.js
+++ b/ext/js/display/search-display-controller.js
@@ -435,7 +435,7 @@ class SearchDisplayController {
case 'select':
return true;
}
- if (element.contentEditable) { return true; }
+ if (element.isContentEditable) { return true; }
return false;
}
}