-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #238 from GrahamDumpleton/upgrade-bootstrap
Upgrade bootstrap and fontawesome versions.
- Loading branch information
Showing
78 changed files
with
55,525 additions
and
17,971 deletions.
There are no files selected for viewing
9 changes: 9 additions & 0 deletions
9
training-portal/src/project/apps/workshops/static/workshops/scripts/catalog.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
// Once the document is ready rewrite the URL to remove the query string. | ||
|
||
document.addEventListener("DOMContentLoaded", function (event) { | ||
if (window.location.search) { | ||
var currentURLWithoutQueryString = window.location.origin + window.location.pathname; | ||
console.log("Replacing page URL with: " + currentURLWithoutQueryString); | ||
window.history.replaceState({}, document.title, currentURLWithoutQueryString); | ||
} | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.