mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-12-25 02:18:51 +00:00
Improved links heading
This commit is contained in:
parent
e371e54985
commit
6f46799a6f
@ -194,16 +194,10 @@ ComunicWeb.components.posts.ui = {
|
|||||||
var link_heading = createElem2({
|
var link_heading = createElem2({
|
||||||
appendTo: linkContainer,
|
appendTo: linkContainer,
|
||||||
type: "h4",
|
type: "h4",
|
||||||
class: "attachment-heading"
|
class: "attachment-heading",
|
||||||
});
|
|
||||||
|
|
||||||
var link_a = createElem2({
|
|
||||||
appendTo: link_heading,
|
|
||||||
type: "a",
|
|
||||||
href: infos.link_url,
|
|
||||||
innerHTML: (infos.link_title != "default" ? infos.link_title : "Web page")
|
innerHTML: (infos.link_title != "default" ? infos.link_title : "Web page")
|
||||||
});
|
});
|
||||||
link_a.target = "_blank";
|
|
||||||
|
|
||||||
//Add attachement text
|
//Add attachement text
|
||||||
var link_attachment_text = createElem2({
|
var link_attachment_text = createElem2({
|
||||||
|
Loading…
Reference in New Issue
Block a user