Skip to content

Commit

Permalink
Revert "try CDN to load jquery and bootstrap"
Browse files Browse the repository at this point in the history
This reverts commit bba32f5.
  • Loading branch information
patricksptang committed Nov 8, 2023
1 parent bba32f5 commit b0ce9c8
Showing 1 changed file with 2 additions and 21 deletions.
23 changes: 2 additions & 21 deletions step-web/src/main/webapp/start.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -489,27 +489,8 @@ userCountry = (userCountry == null) ? "UNKNOWN" : userCountry.toUpperCase();
}
</script>
<script src="https://ajax.aspnetcdn.com/ajax/jquery/jquery-1.10.2.min.js" type="text/javascript"></script>
<script>
if (!window.jQuery) {
var scriptd = document.createElement('script');
var scatt = document.createAttribute("src"); // Create a "class" attribute
scatt.value = "/libs/jquery-1.10.2.min.js";
scriptd.setAttributeNode(scatt);
document.head.appendChild(scriptd);
}
</script>
<script src="https://ajax.aspnetcdn.com/ajax/bootstrap/3.1.1/bootstrap.min.js" type="text/javascript"></script>
<script>
var bootstrap_enabled = (typeof $().emulateTransitionEnd == 'function');
if (!window.jQuery) {
var scriptd = document.createElement('script');
var scatt = document.createAttribute("src"); // Create a "class" attribute
scatt.value = "/libs/bootstrap.min.js";
scriptd.setAttributeNode(scatt);
document.head.appendChild(scriptd);
}
</script>
<script src="libs/jquery-1.10.2.min.js" type="text/javascript"></script>
<script src="libs/bootstrap.min.js" type="text/javascript"></script>
<script src="libs/introjs.min.js" type="text/javascript"></script>
<%
if (request.getParameter("debug") != null) {
Expand Down

0 comments on commit b0ce9c8

Please sign in to comment.