mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-11-25 21:39:21 +00:00
Callout messages do not have messages.
This commit is contained in:
parent
944df583a6
commit
612949a86a
@ -24,9 +24,11 @@ ComunicWeb.common.messages.createCalloutElem = function(calloutTitle, calloutMes
|
||||
calloutElem.className = "callout callout-" + calloutType;
|
||||
|
||||
//Add title
|
||||
if(calloutTitle != ""){
|
||||
var calloutTitleElem = document.createElement("h4");
|
||||
calloutTitleElem.innerHTML = calloutTitle;
|
||||
calloutElem.appendChild(calloutTitleElem)
|
||||
}
|
||||
|
||||
//Add callout body
|
||||
var calloutBody = document.createElement("div");
|
||||
|
Loading…
Reference in New Issue
Block a user