aboutsummaryrefslogtreecommitdiff
path: root/ext/js/pages/settings/nested-popups-controller.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/js/pages/settings/nested-popups-controller.js')
-rw-r--r--ext/js/pages/settings/nested-popups-controller.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/js/pages/settings/nested-popups-controller.js b/ext/js/pages/settings/nested-popups-controller.js
index 8b6f02c5..cbee4e0e 100644
--- a/ext/js/pages/settings/nested-popups-controller.js
+++ b/ext/js/pages/settings/nested-popups-controller.js
@@ -16,7 +16,7 @@
*/
/* global
- * DOMDataBinder
+ * DocumentUtil
*/
class NestedPopupsController {
@@ -52,7 +52,7 @@ class NestedPopupsController {
_onNestedPopupsCountChange(e) {
const node = e.currentTarget;
- const value = Math.max(1, DOMDataBinder.convertToNumber(node.value, node));
+ const value = Math.max(1, DocumentUtil.convertElementValueToNumber(node.value, node));
this._setPopupNestingMaxDepth(value);
}