This commit is contained in:
parent
3606b3879d
commit
3626dd7477
1 changed files with 1 additions and 1 deletions
|
@ -123,7 +123,7 @@ function fediverse() {
|
|||
const data = JSON.parse(localStorage.getItem('fedi-social') || '{}')
|
||||
document.querySelectorAll("a.external_url:not([href='{external_url}'])").forEach(el => {
|
||||
if(data.template){
|
||||
href = template.replace("{uri}", el.href)
|
||||
href = data.template.replace("{uri}", el.href)
|
||||
const innerHTML = `
|
||||
<a href='${href}' target="_blank"><i class="fa fa-comment"></i></a>
|
||||
<a href='${href}' target="_blank"><i class="fa fa-star"></i></a>
|
||||
|
|
Loading…
Reference in a new issue