Fix slugify
This commit is contained in:
parent
9ce47c48af
commit
424a243c5c
3 changed files with 11 additions and 15 deletions
|
|
@ -10,6 +10,7 @@ const CACHE = {}
|
|||
const renderTo = function (dom, content) {
|
||||
dom = typeof dom === 'object' ? dom : document.querySelector(dom)
|
||||
dom.innerHTML = content
|
||||
slugify.clear()
|
||||
|
||||
return dom
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue