mirror of
https://github.com/coalaura/whiskr.git
synced 2025-09-09 01:09:54 +00:00
tags and caching
This commit is contained in:
@@ -45,7 +45,9 @@ function uid() {
|
||||
function make(tag, ...classes) {
|
||||
const el = document.createElement(tag);
|
||||
|
||||
el.classList.add(...classes);
|
||||
if (classes.length) {
|
||||
el.classList.add(...classes);
|
||||
}
|
||||
|
||||
return el;
|
||||
}
|
||||
|
Reference in New Issue
Block a user