Skip to content

Commit

Permalink
V5.2.4 - Update JS Location + Remove pointless code
Browse files Browse the repository at this point in the history
  • Loading branch information
xbubbo committed Jun 13, 2024
1 parent 9e8a047 commit 2169467
Show file tree
Hide file tree
Showing 13 changed files with 391 additions and 303 deletions.
2 changes: 1 addition & 1 deletion static/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ <h3>Page not found.</h3>
<script src="/assets/scripts/i.js?V=42"></script>
<script src="/assets/-/bundle.js?v=5-5-2024"></script>
<script src="/assets/-/config.js?v=5-5-2024"></script>
<script src="/assets/scripts/m.js?v=86"></script>
<script src="/assets/js/main.js?v=86"></script>
<div>
<script type="text/javascript" src="//alleygoat.com/5e/6b/27/5e6b2776400180cc548a7dfd8ab3f717.js"></script>
</div>
Expand Down
6 changes: 3 additions & 3 deletions static/apps.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<link rel="stylesheet" href="/assets/css/global.css?v=6" />
<link rel="stylesheet" href="/assets/css/container.css?v=2" />
<link rel="stylesheet" href="/assets/css/nav.css?v=2" />
<script src="/assets/scripts/m.js?v=86"></script>
<script src="/assets/js/main.js?v=86"></script>
<script src="/assets/scripts/i.js?V=42"></script>
<script src="https://kit.fontawesome.com/1237c86ba0.js" crossorigin="anonymous"></script>
</head>
Expand All @@ -38,8 +38,8 @@
</div>
<div class="pinned-apps"></div>
<div class="container-apps"></div>
<script src="assets/scripts/ap.js?v=118"></script>
<script src="/assets/scripts/m.js?v=86"></script>
<script src="assets/js/container.js?v=118"></script>
<script src="/assets/js/main.js?v=86"></script>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-WKJQ5QHQTJ"></script>
<!-- DO NOT REMOVE-->
<script>
Expand Down
6 changes: 3 additions & 3 deletions static/assets/scripts/ap.js → static/assets/js/container.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,11 +147,11 @@ function Custom(app) {
}

CustomApp(customApp)
initializeCustomApp(customApp)
CreateCustomApp(customApp)
}
}

function initializeCustomApp(customApp) {
function CreateCustomApp(customApp) {
const columnDiv = document.createElement("div")
columnDiv.classList.add("column")
columnDiv.setAttribute("data-category", "all")
Expand Down Expand Up @@ -209,7 +209,7 @@ document.addEventListener("DOMContentLoaded", () => {
}
if (storedApps) {
Object.values(storedApps).forEach((app) => {
initializeCustomApp(app)
CreateCustomApp(app)
})
}
})
Expand Down
3 changes: 1 addition & 2 deletions static/assets/scripts/h.js → static/assets/js/home.js
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ function US() {
SplashE.innerText = SplashT[SplashI]

SplashE.addEventListener("click", US)

// Random URL
function getRandomURL() {
let randomURLS = [
"https://kahoot.it",
Expand All @@ -205,7 +205,6 @@ function getRandomURL() {
"https://khanacademy.org",
"https://wikipedia.org",
"https://dictionary.com",
// what if we added the hub here :trol:
]
return randomURLS[randRange(0, randomURLS.length)]
}
Expand Down
Loading

0 comments on commit 2169467

Please sign in to comment.