From 8b2943c05cc5e154675da73e01e873408d5a3257 Mon Sep 17 00:00:00 2001 From: Jon Froehlich Date: Mon, 15 Jun 2026 09:16:25 -0700 Subject: [PATCH] Drop jQuery 1.9.1 + Bootstrap 3.3.6 JavaScript (#1288) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Final step of Track A (#1253). With the navbar (#1290), scrollspy (#1291), citation popover (#1292), and carousel (#1293) all converted to vanilla JS, nothing in the site's frontend uses jQuery or Bootstrap's JS any longer (verified: zero `$(...)` calls, zero Bootstrap data-api attributes besides the inert `data-toggle="popover"` selector). This removes the two now-unused CDN script tags from base.html: - jQuery 1.9.1 (2013; known XSS issues) - Bootstrap 3.3.6 JS Bootstrap's CSS (bootstrap.min.css) stays — only the JavaScript is removed; the grid/CSS migration is the separate Track B. Also tidied a now-stale comment in project-sidebar-sticky.js (the rest of the codebase no longer uses jQuery). Co-Authored-By: Claude Opus 4.8 (1M context) --- website/static/website/js/project-sidebar-sticky.js | 2 +- website/templates/website/base.html | 7 ++----- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/website/static/website/js/project-sidebar-sticky.js b/website/static/website/js/project-sidebar-sticky.js index e8a81deb..6e1bf0e1 100644 --- a/website/static/website/js/project-sidebar-sticky.js +++ b/website/static/website/js/project-sidebar-sticky.js @@ -36,7 +36,7 @@ * * Only active on >=992px breakpoint; the mobile layout doesn't use sticky. * - * Vanilla JS — no jQuery dependency despite the rest of the codebase using it. + * Vanilla JS — no jQuery dependency. */ (function () { 'use strict'; diff --git a/website/templates/website/base.html b/website/templates/website/base.html index 4225c903..4505c086 100644 --- a/website/templates/website/base.html +++ b/website/templates/website/base.html @@ -97,11 +97,8 @@ {% block stylesheets %}{% endblock %} - - - +