From 3ca67cff7ae50ec8bbcb1d9fb2125842f501a4cd Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Wed, 1 Dec 2021 14:25:00 +0200 Subject: [PATCH] dsffds --- files/assets/js/mobile_navigation_bar.js | 4 +- files/assets/js/popover.js | 4 +- files/templates/admin/image_posts.html | 41 ++++--- files/templates/admin/reported_posts.html | 41 ++++--- files/templates/ban_modal.html | 4 +- files/templates/comments.html | 50 ++++---- files/templates/default.html | 99 ++++++++-------- files/templates/embeds/twitter.html | 7 +- files/templates/embeds/twitterlight.html | 7 +- files/templates/followers.html | 15 ++- files/templates/following.html | 15 ++- files/templates/home.html | 97 ++++++++------- files/templates/mobile_navigation_bar.html | 2 +- files/templates/settings_blocks.html | 53 +++++---- files/templates/settings_css.html | 14 +-- files/templates/settings_profile.html | 27 +++-- files/templates/settings_security.html | 17 ++- files/templates/submission.html | 130 ++++++++++----------- files/templates/submission_listing.html | 45 ++++--- files/templates/userpage.html | 48 ++++---- files/templates/userpage_blocked.html | 41 ++++--- files/templates/userpage_blocking.html | 41 ++++--- files/templates/userpage_reserved.html | 41 ++++--- 23 files changed, 408 insertions(+), 435 deletions(-) diff --git a/files/assets/js/mobile_navigation_bar.js b/files/assets/js/mobile_navigation_bar.js index 8494d58c5..38409d9b6 100644 --- a/files/assets/js/mobile_navigation_bar.js +++ b/files/assets/js/mobile_navigation_bar.js @@ -1,4 +1,4 @@ -window.onload = function () { +window.addEventListener("load",function(event) { var prevScrollpos = window.pageYOffset; window.onscroll = function () { var currentScrollPos = window.pageYOffset; @@ -43,4 +43,4 @@ window.onload = function () { } prevScrollpos = currentScrollPos; } -} \ No newline at end of file +}) \ No newline at end of file diff --git a/files/assets/js/popover.js b/files/assets/js/popover.js index 07be6fc4e..c2e7bfd48 100644 --- a/files/assets/js/popover.js +++ b/files/assets/js/popover.js @@ -1,4 +1,4 @@ -window.onload = function() { +window.addEventListener("load",function(event) { function eventasdf(value){ var content_id = value.getAttributeNode("data-content-id").value; value.addEventListener("click", function(){jhkj(content_id)}); @@ -33,4 +33,4 @@ window.onload = function() { usernames.forEach(eventasdf); document.addEventListener("click", function(e){dfgh(e)}); - }; \ No newline at end of file +}); \ No newline at end of file diff --git a/files/templates/admin/image_posts.html b/files/templates/admin/image_posts.html index a8aa14756..c248b3667 100644 --- a/files/templates/admin/image_posts.html +++ b/files/templates/admin/image_posts.html @@ -12,28 +12,27 @@ {% block fixedMobileBarJS %} {% endblock %} diff --git a/files/templates/admin/reported_posts.html b/files/templates/admin/reported_posts.html index a748c65bc..08c3a0c53 100644 --- a/files/templates/admin/reported_posts.html +++ b/files/templates/admin/reported_posts.html @@ -40,28 +40,27 @@ {% block fixedMobileBarJS %} {% endblock %} diff --git a/files/templates/ban_modal.html b/files/templates/ban_modal.html index 9b0739a22..8d2059c60 100644 --- a/files/templates/ban_modal.html +++ b/files/templates/ban_modal.html @@ -1,6 +1,6 @@