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)
|
const el = document.querySelector(selector)
|
||||||
el.render = (html) => el.innerHTML = html
|
el.render = (html) => el.innerHTML = html
|
||||||
@@ -13,6 +13,6 @@ var QTModal = {
|
|||||||
Loading...
|
Loading...
|
||||||
</div>
|
</div>
|
||||||
</div>`,
|
</div>`,
|
||||||
show: () => $(`body`).ontop(QTModal.html),
|
show: () => h32kn$(`body`).ontop(QTModal.html),
|
||||||
hide: () => $('#qtmodal')?.remove()
|
hide: () => h32kn$('#qtmodal')?.remove()
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "qtmodal",
|
"name": "qtmodal",
|
||||||
"version": "0.3.0",
|
"version": "0.3.1",
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
|
|||||||
Reference in New Issue
Block a user