Fix reference in sort button code

This commit is contained in:
Tim Van Baak 2018-08-09 09:49:28 -07:00
parent 5100ecc634
commit f21213d673
1 changed files with 2 additions and 2 deletions

View File

@ -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";
}
}
</script>