summaryrefslogtreecommitdiff
path: root/classes/Pref_Prefs.php
diff options
context:
space:
mode:
authorsupahgreg <supahgreg@users.noreply.github.com>2025-10-14 23:22:00 +0000
committersupahgreg <supahgreg@users.noreply.github.com>2025-10-14 23:23:01 +0000
commitf85559735b794682057e5b8d3854373f4d10dbb9 (patch)
treea4622a6d572deca239cb562f0f2d78ad6e2c1565 /classes/Pref_Prefs.php
parent6bd52b28c201c2afb43397c1413000d47563da0b (diff)
Remove 'App.byId()', which was essentially an alias of 'document.getElementById()'.
Diffstat (limited to 'classes/Pref_Prefs.php')
-rw-r--r--classes/Pref_Prefs.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/classes/Pref_Prefs.php b/classes/Pref_Prefs.php
index df0b62923..54cb4fa4f 100644
--- a/classes/Pref_Prefs.php
+++ b/classes/Pref_Prefs.php
@@ -345,14 +345,14 @@ class Pref_Prefs extends Handler_Protected {
Notify.close();
if (reply.indexOf('ERROR: ') == 0) {
- App.byId('pwd_change_infobox').innerHTML =
+ document.getElementById('pwd_change_infobox').innerHTML =
reply.replace('ERROR: ', '');
} else {
- App.byId('pwd_change_infobox').innerHTML =
+ document.getElementById('pwd_change_infobox').innerHTML =
reply.replace('ERROR: ', '');
- const warn = App.byId('default_pass_warning');
+ const warn = document.getElementById('default_pass_warning');
if (warn) Element.hide(warn);
}