mirror of
https://github.com/xvvvyz/tilde.git
synced 2026-03-11 14:44:24 +00:00
always return an array from $.els()
This commit is contained in:
parent
938ba5b21a
commit
0befab25e9
1 changed files with 1 additions and 1 deletions
|
|
@ -278,7 +278,7 @@
|
|||
<script>
|
||||
const $ = {
|
||||
el: s => document.querySelector(s),
|
||||
els: s => document.querySelectorAll(s),
|
||||
els: s => [].slice.call(document.querySelectorAll(s) || []),
|
||||
};
|
||||
|
||||
class Clock {
|
||||
|
|
|
|||
Loading…
Reference in a new issue