mirror of
https://github.com/multipleofnpm/qtmodal.git
synced 2026-01-13 16:17:57 +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()
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "qtmodal",
|
||||
"version": "0.3.0",
|
||||
"version": "0.3.1",
|
||||
"description": "",
|
||||
"main": "index.js",
|
||||
"type": "module",
|
||||
|
||||
Reference in New Issue
Block a user