From f85559735b794682057e5b8d3854373f4d10dbb9 Mon Sep 17 00:00:00 2001 From: supahgreg Date: Tue, 14 Oct 2025 23:22:00 +0000 Subject: Remove 'App.byId()', which was essentially an alias of 'document.getElementById()'. --- classes/Pref_Prefs.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'classes/Pref_Prefs.php') 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); } -- cgit v1.2.3-54-g00ecf