You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
776 B
25 lines
776 B
- const { use, lazyload } = theme.comments |
|
|
|
script. |
|
(()=>{ |
|
const loadLivere = () => { |
|
if (typeof LivereTower === 'object') window.LivereTower.init() |
|
else { |
|
(function(d, s) { |
|
var j, e = d.getElementsByTagName(s)[0]; |
|
if (typeof LivereTower === 'function') { return; } |
|
j = d.createElement(s); |
|
j.src = 'https://cdn-city.livere.com/js/embed.dist.js'; |
|
j.async = true; |
|
e.parentNode.insertBefore(j, e); |
|
})(document, 'script'); |
|
} |
|
} |
|
|
|
if ('!{use[0]}' === 'Livere' || !!{lazyload}) { |
|
if (!{lazyload}) btf.loadComment(document.getElementById('lv-container'), loadLivere) |
|
else loadLivere() |
|
} else { |
|
window.loadOtherComment = loadLivere |
|
} |
|
})() |