mirror of
https://github.com/multipleofnpm/qtmodal.git
synced 2026-01-14 08:38:08 +00:00
rename $ to h32kn$ and bump version to 0.3.1
This commit is contained in:
6
index.js
6
index.js
@@ -1,4 +1,4 @@
|
||||
const $ = (selector) =>
|
||||
const h32kn$ = (selector) =>
|
||||
{
|
||||
const el = document.querySelector(selector)
|
||||
el.render = (html) => el.innerHTML = html
|
||||
@@ -13,6 +13,6 @@ var QTModal = {
|
||||
Loading...
|
||||
</div>
|
||||
</div>`,
|
||||
show: () => $(`body`).ontop(QTModal.html),
|
||||
hide: () => $('#qtmodal')?.remove()
|
||||
show: () => h32kn$(`body`).ontop(QTModal.html),
|
||||
hide: () => h32kn$('#qtmodal')?.remove()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user