hotfix for fixedID custom sharing

This commit is contained in:
ferricles 2021-03-08 15:14:47 -08:00
parent 71a7b65a91
commit 636957aedf

View file

@ -312,7 +312,12 @@ function decodeCustom(custom_url_tag) {
if (version === "1") { if (version === "1") {
//do the things //do the things
if (fixID) {statMap.set("fixId", "true");} if (fixID) {
statMap.set("fixId", "true");
toggleButton("fixID-choice");
toggleYN("fixID-choice");
toggleFixed(document.getElementById("fixID-choice"));
}
while (tag !== "") { while (tag !== "") {
let id = ci_save_order[Base64.toInt(tag.slice(0,2))]; let id = ci_save_order[Base64.toInt(tag.slice(0,2))];
let len = Base64.toInt(tag.slice(2,4)); let len = Base64.toInt(tag.slice(2,4));
@ -431,7 +436,7 @@ function toggleYN(elemId) {
} }
/** /**
* @param fixed : a boolean for the state of the fixID button. True -> make all the variable IDs 2 inputs, False -> make them all 1 input * @param fixed : a boolean for the state of the fixID button.
*/ */
function toggleFixed(fixed) { function toggleFixed(fixed) {
for (const id of rolledIDs) { for (const id of rolledIDs) {