Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Nov 15, 2025

Two sizzle templates were loading jQuery twice: once from base.html (jQuery 3.7.1) and again via unpredictable /jquery/latest/ CDN references.

Changes

  • Removed redundant jQuery script tags from sizzle/add_sizzle_checkin.html and sizzle/sizzle.html
  • Templates now inherit jQuery 3.7.1 from base.html which they extend

Before

{% extends "base.html" %}
...
<script src="https://cdn.jsdelivr.net/jquery/latest/jquery.min.js"></script>
<script>$(function() { /* jQuery code */ });</script>

After

{% extends "base.html" %}
...
<script>$(function() { /* jQuery code */ });</script>

All templates now consistently use jQuery 3.7.1 (latest stable) with no duplicate loading or version ambiguity.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • code.jquery.com
    • Triggering command: curl -s REDACTED (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

This section details on the original issue you should resolve

<issue_title>Update jquery</issue_title>
<issue_description>https://github.com/OWASP-BLT/BLT/blob/main/website/static/vendor/jquery/jquery-2.1.1.min.js</issue_description>

Comments on the Issue (you are @copilot in this section)

@DonnieBLT /assign @DonnieBLT /assign @DonnieBLT /assign @DonnieBLT /assign @DonnieBLT /assign

✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Nov 15, 2025

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Comment @coderabbitai help to get the list of available commands and usage tips.

Copilot AI changed the title [WIP] Update jQuery to latest version Remove duplicate jQuery loading from sizzle templates Nov 15, 2025
Copilot AI requested a review from DonnieBLT November 15, 2025 23:09
@DonnieBLT DonnieBLT marked this pull request as ready for review November 16, 2025 01:25
@github-actions github-actions bot added the files-changed: 2 PR changes 2 files label Nov 16, 2025
@DonnieBLT DonnieBLT merged commit e704419 into main Nov 16, 2025
33 of 37 checks passed
@DonnieBLT DonnieBLT deleted the copilot/update-jquery-version branch November 16, 2025 02:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

files-changed: 2 PR changes 2 files

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Update jquery

2 participants