From 99c3afdec58413f04a0b28f8a6569b29ba348058 Mon Sep 17 00:00:00 2001 From: nicholaspease18 Date: Wed, 9 Oct 2019 16:49:55 -0400 Subject: [PATCH] OOF --- js/script.js | 2 +- ribbon/js/script.js | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/js/script.js b/js/script.js index 4271264..05ce82f 100644 --- a/js/script.js +++ b/js/script.js @@ -1,7 +1,7 @@ function externalOnLoad() { var isMobile = window.orientation > -1; if (isMobile) { - location.href = "https://lax18.github.io/WebJROTC/index.html" + location.href = "https://lax18.github.io/MobileJROTC/index.html" } console.log("[index.html] LOADED") var data = readData("nextevent", function(data) { diff --git a/ribbon/js/script.js b/ribbon/js/script.js index 090e8cf..f9b3eea 100644 --- a/ribbon/js/script.js +++ b/ribbon/js/script.js @@ -1,5 +1,5 @@ // Ribbon Rack Builder -// v.2 +// v.2.0.1 // // // (C) 2019 Nicholas Pease @@ -17,7 +17,7 @@ function onLoad() { var newelement = document.createElement("span") newelement.setAttribute("class", "ribbon-selector-span") if (i <= 1) { - newelement.innerHTML = "

" + ribbon_name[i] + "
 

" + newelement.innerHTML = "

" + ribbon_name[i] + "
 

" } else { newelement.innerHTML = "

" + ribbon_name[i] + "
" + ribbon_filename[i] + "

" } @@ -47,6 +47,7 @@ function updatePage() { img.setAttribute("src", "assets/ribbons/" + ribbon_filename[i] + ".gif"); img.setAttribute("width", "33%"); img.setAttribute("class", "ribbons") + var ribbbonselector = document.getElementById() if (ribbons <= 3) { console.log(rows) img.setAttribute("id",ribbons)