From 221a13c593e7914fe97cc038e5cacf3f49f44180 Mon Sep 17 00:00:00 2001 From: Jason McBrayer Date: Sun, 14 Oct 2018 20:59:38 -0400 Subject: [PATCH] Revert "Add animated loading indicator for some links." This reverts commit 0fd520b78b23b87f5135bc3997b80853a2b086b5. --- brutaldon/static/js/brutaldon-enhancements.js | 12 ----------- brutaldon/templates/base.html | 21 +++++++++---------- brutaldon/templates/main/toot_partial.html | 2 +- 3 files changed, 11 insertions(+), 24 deletions(-) diff --git a/brutaldon/static/js/brutaldon-enhancements.js b/brutaldon/static/js/brutaldon-enhancements.js index e9a74b0..0064378 100644 --- a/brutaldon/static/js/brutaldon-enhancements.js +++ b/brutaldon/static/js/brutaldon-enhancements.js @@ -151,15 +151,3 @@ function characterCount() return $("#id_status").val().length + $("#id_spoiler_text").val().length; } -function animateLinks(selector) -{ - $(selector).each( - function (index, elt) { - $(elt).on("click", - function () { - $('#page-load-indicator').fadeIn(); - return true; - }); - }); - $('#page-load-indicator').fadeOut(); -} diff --git a/brutaldon/templates/base.html b/brutaldon/templates/base.html index ee4f936..dabde7f 100644 --- a/brutaldon/templates/base.html +++ b/brutaldon/templates/base.html @@ -57,7 +57,7 @@