Commit 9a784041 authored by Jakob Moser's avatar Jakob Moser
Browse files

Fix type

parent 764c364c
Loading
Loading
Loading
Loading
+1 −1
Changes for static/js/util.mjs: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -19,7 +19,7 @@ export function arrayEquals(array1, array2) {
/**
 * Create a DOM element with the given tag and the given classes
 * @param {String} tagName The tag name of the element to create
 * @param {String} classes The class(es) the element should have
 * @param {Array<String>} classes The class(es) the element should have
 */
export function createElementWithClass(tagName, ...classes) {
    const element = document.createElement(tagName)