From f21213d67365a6f4b574e0d5e86f99ea62e075f7 Mon Sep 17 00:00:00 2001 From: Tim Van Baak Date: Thu, 9 Aug 2018 09:49:28 -0700 Subject: [PATCH] Fix reference in sort button code --- src/resources/contents.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/resources/contents.html b/src/resources/contents.html index 3ff5158..a7c2543 100644 --- a/src/resources/contents.html +++ b/src/resources/contents.html @@ -17,12 +17,12 @@ window.onload = function(){ if (location.search.search("byturn") > 0) { document.getElementById("turn-order").style.display = "block"; - b.innerText = "Switch to index order"; + document.getElementById("toggle-button").innerText = "Switch to index order"; } if (location.search.search("byindex") > 0) { document.getElementById("index-order").style.display = "block"; - b.innerText = "Switch to turn order"; + document.getElementById("toggle-button").innerText = "Switch to turn order"; } }