Add more license headers

This commit is contained in:
Zed 2021-12-27 02:43:27 +01:00
parent 73b5b60ac3
commit 3259223c9c
4 changed files with 5 additions and 1 deletions

View file

@ -1,4 +1,5 @@
// @license http://www.gnu.org/licenses/agpl-3.0.html AGPL-3.0
// SPDX-License-Identifier: AGPL-3.0-only
function playVideo(overlay) {
const video = overlay.parentElement.querySelector('video');
const url = video.getAttribute("data-url");

View file

@ -1,4 +1,5 @@
// @license http://www.gnu.org/licenses/agpl-3.0.html AGPL-3.0
// SPDX-License-Identifier: AGPL-3.0-only
function insertBeforeLast(node, elem) {
node.insertBefore(elem, node.childNodes[node.childNodes.length - 2]);
}