mirror of
https://github.com/dwaxweiler/connector-mobilizon
synced 2025-06-05 21:59:25 +02:00
remove unneeded folder
This commit is contained in:
7
source/front/html-creator.js
Normal file
7
source/front/html-creator.js
Normal file
@ -0,0 +1,7 @@
|
||||
export function createAnchorElement({ document, text, url }) {
|
||||
const a = document.createElement('a')
|
||||
a.setAttribute('href', url)
|
||||
a.setAttribute('target', '_blank')
|
||||
a.innerHTML = text
|
||||
return a
|
||||
}
|
Reference in New Issue
Block a user