Skip to content

Commit

Permalink
fix typo (#118)
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelChirico authored May 21, 2024
1 parent 2079436 commit 04a722a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inst/resources/snap.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@
// start timer on fullscreen
d.onfullscreenchange = (e) => d.fullscreenElement && !t0 && startTimers();
tms.forEach(el => el.addEventListener('click', e => startTimers()));
// restore previsouly saved body class
// restore previously saved body class
const bc = sessionStorage.getItem('body-class');
if (bc) d.body.className += ' ' + bc;
})(document);

0 comments on commit 04a722a

Please sign in to comment.