Skip to content

Commit 5cd4234

Browse files
committed
No Ticket : Switch to Google CDN for loading jQuery
feat : In my (admittedly limited and anecdotal) experience playing around with this, I found that load time has been faster with the Google CDN instead of the code.jquery one
1 parent f83ab32 commit 5cd4234

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

comment-section.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -124,11 +124,11 @@
124124
disableButtonWithLoader("load-comment-button");
125125
{%- unless site.google_forms_comments.google_app_script -%}
126126
{%- comment -%}
127-
/* Load JQuery */
127+
/* Load JQuery, only needed in order to use JQuery CSV */
128128
{%- endcomment -%}
129129
var loadJquery = document.createElement("script");
130130
loadJquery.type = "text/javascript";
131-
loadJquery.src = "https://code.jquery.com/jquery-3.6.0.min.js";
131+
loadJquery.src = "https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js";
132132
document.head.appendChild(loadJquery);
133133
{%- endunless -%}
134134

0 commit comments

Comments
 (0)