Skip to content

Commit

Permalink
style: further tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
jennifer-richards committed Jan 25, 2023
1 parent 657f580 commit 46c5691
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ietf/static/js/document_html.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,7 @@ document.addEventListener("DOMContentLoaded", function (event) {

const val = in_localStorage.includes(btn.name) ?
localStorage.getItem(btn.name) : cookies.get(btn.name);
if (val === id ||
((val == null) && btn_pref[btn.name] === id)) {
if (val === id || (val === null && btn_pref[btn.name] === id)) {
btn.checked = true;
}

Expand Down

0 comments on commit 46c5691

Please sign in to comment.