]>
Commit | Line | Data |
---|---|---|
81c2ef98 | 1 | function m(html) { |
65d5cb3b | 2 | const div = document.createElement("div"); |
81c2ef98 MG |
3 | div.innerHTML = html; |
4 | return div.firstChild; | |
5 | } | |
dee46c5b MG |
6 | |
7 | function q(selector) { | |
8 | return document.querySelector(selector); | |
9 | } |