lbry.tech/views/partials/glossary-scripts.js

10 lines
241 B
JavaScript
Raw Normal View History

2018-07-27 17:18:29 +02:00
/* global $, document */ "use strict";
document.getElementsByTagName("body")[0].classList.add("glossary");
2018-07-27 17:18:29 +02:00
$("[data-action='toggle glossary sidebar']").on("click", () => { // Toggle sidebar
$("body").toggleClass("sidebar-closed");
});