summaryrefslogtreecommitdiff
path: root/js/PrefHelpers.js
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 /js/PrefHelpers.js
parent6bd52b28c201c2afb43397c1413000d47563da0b (diff)
Remove 'App.byId()', which was essentially an alias of 'document.getElementById()'.
Diffstat (limited to 'js/PrefHelpers.js')
-rw-r--r--js/PrefHelpers.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/js/PrefHelpers.js b/js/PrefHelpers.js
index cf3f03bf2..f931630c8 100644
--- a/js/PrefHelpers.js
+++ b/js/PrefHelpers.js
@@ -8,7 +8,7 @@ const Helpers = {
return Tables.getSelected("app-password-list");
},
updateContent: function(data) {
- App.byId("app_passwords_holder").innerHTML = data;
+ document.getElementById("app_passwords_holder").innerHTML = data;
dojo.parser.parse("app_passwords_holder");
},
removeSelected: function() {
@@ -264,7 +264,7 @@ const Helpers = {
apply: function() {
xhr.post("backend.php", this.attr('value'), () => {
Element.show("css_edit_apply_msg");
- App.byId("user_css_style").innerText = this.attr('value');
+ document.getElementById("user_css_style").innerText = this.attr('value');
});
},
execute: function () {
@@ -784,7 +784,7 @@ const Helpers = {
},
OPML: {
import: function() {
- const opml_file = App.byId("opml_file");
+ const opml_file = document.getElementById("opml_file");
if (opml_file.value.length === 0) {
alert(__("Please choose an OPML file first."));
@@ -826,7 +826,7 @@ const Helpers = {
dialog.show();
};
- xhr.send(new FormData(App.byId("opml_import_form")));
+ xhr.send(new FormData(document.getElementById("opml_import_form")));
return false;
}