diff options
| author | Greg <supahgreg@users.noreply.github.com> | 2025-10-14 19:13:51 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-14 19:13:51 -0500 |
| commit | 703d310e400f1f4162d4e38afa3f5bf5169c5377 (patch) | |
| tree | b4ab637f1b25aae25cd10604468d509bbe26246e /js/utility.js | |
| parent | 73f9d7bd6c8f222145c29c91eeb43ba7c7677496 (diff) | |
| parent | 6223abef082bc7d2383ecbd4cf42fd280073f5d1 (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 'js/utility.js')
| -rw-r--r-- | js/utility.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/utility.js b/js/utility.js index 0a9b59454..0fb08435c 100644 --- a/js/utility.js +++ b/js/utility.js @@ -26,9 +26,9 @@ window.addEventListener("load", function() { link.id = "theme_auto_css"; link.onload = function() { - document.querySelector("body").removeClassName("css_loading"); + document.body.classList.remove('css_loading'); - if (typeof UtilityApp !== "undefined") + if (typeof UtilityApp !== 'undefined') UtilityApp.init(); }; |