e64550207c
This commit introduces LibreJS compatible `@license' blocks as per https://www.gnu.org/software/librejs/free-your-javascript.html The magnet URI can be opened in a BitTorrent client to retrieve a copy of the MIT/Expat license. Section 3.2.2.1 from the above link has a list of magnet URIs for various free software licenses.
14 lines
449 B
JavaScript
14 lines
449 B
JavaScript
// @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat
|
|
|
|
const check_all = document.getElementById("action-checkbox-all");
|
|
if (check_all) {
|
|
check_all.style.display = "inherit";
|
|
check_all.addEventListener("click", ev => {
|
|
const inputs = document.querySelectorAll(".message-list-checkbox input");
|
|
for (let i = 0; i < inputs.length; i++) {
|
|
inputs[i].checked = ev.target.checked;
|
|
}
|
|
});
|
|
}
|
|
|
|
// @license-end
|