Closed oddbookworm closed 1 year ago
Further suggested edits: Change
linked_button.onclick = function () {
// HAS to be linked_buttons[i] instead of linked_button; I *think* it's because
// it just takes the last linked button's url cuz of the loop
location.href = linked_button.dataset.url;
}
to
linked_button.onclick = () => {
location.href = linked_button.dataset.url;
}
In
/scripts/format.js
,should be tweaked to
Don't make a PR just for this, save it for the next miscellaneous tweaks/bugfix PR. This is just a slight code aesthetics choice