summaryrefslogtreecommitdiff
path: root/classes/Pref_Prefs.php
diff options
context:
space:
mode:
authorGreg <supahgreg@users.noreply.github.com>2025-10-14 19:13:51 -0500
committerGitHub <noreply@github.com>2025-10-14 19:13:51 -0500
commit703d310e400f1f4162d4e38afa3f5bf5169c5377 (patch)
treeb4ab637f1b25aae25cd10604468d509bbe26246e /classes/Pref_Prefs.php
parent73f9d7bd6c8f222145c29c91eeb43ba7c7677496 (diff)
parent6223abef082bc7d2383ecbd4cf42fd280073f5d1 (diff)
Merge pull request #51 from tt-rss/js-proto-extensions-and-misc-cleanup
Remove various JS prototype extensions and alias functions
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);
}