[tor-commits] [donate-static/staging] Remove fallback.js from the footer templates

kez at torproject.org kez at torproject.org
Wed Oct 20 17:07:31 UTC 2021


commit a2c0504be1250b35e8d0b71c75c9680ab05f6e87
Author: kez <kez at torproject.org>
Date:   Thu Sep 30 01:02:40 2021 -0700

    Remove fallback.js from the footer templates
    
    This JS file seems to be from another site. Including it breaks using
    hash urls for linking to an id on a page.
---
 templates/footer-min.html | 1 -
 templates/footer.html     | 1 -
 2 files changed, 2 deletions(-)

diff --git a/templates/footer-min.html b/templates/footer-min.html
index cd0a025a..01a7192a 100644
--- a/templates/footer-min.html
+++ b/templates/footer-min.html
@@ -87,6 +87,5 @@
     <script src="{{ '/static/js/scrollspy.min.js'|asseturl }}" ></script>
     <script src="{{ '/static/js/modernizr.js'|asseturl }}" ></script>
     <script src="{{ '/static/js/download.js'|asseturl }}" ></script>
-    <script src="{{ '/static/js/fallback.js'|asseturl }}" ></script>
   </div>
 </div>
diff --git a/templates/footer.html b/templates/footer.html
index 1a45719b..bbde66d4 100644
--- a/templates/footer.html
+++ b/templates/footer.html
@@ -114,6 +114,5 @@
   <script src="{{ '/static/js/scrollspy.min.js'|asseturl }}" ></script>
   <script src="{{ '/static/js/modernizr.js'|asseturl }}" ></script>
   <script src="{{ '/static/js/download.js'|asseturl }}" ></script>
-  <script src="{{ '/static/js/fallback.js'|asseturl }}" ></script>
   </div>
 </div>





More information about the tor-commits mailing list