Embed: improved handling of state changes, added options to hide error title
This commit is contained in:
parent
214b584956
commit
a75ac5713c
5 changed files with 31 additions and 37 deletions
|
@ -1704,7 +1704,7 @@ MistSkins["default"] = {
|
|||
message_container.className = "message";
|
||||
this.appendChild(message_container);
|
||||
|
||||
if (!options.polling && !options.passive) {
|
||||
if (!options.polling && !options.passive && !options.hideTitle) {
|
||||
var header = document.createElement("h3");
|
||||
message_container.appendChild(header);
|
||||
header.appendChild(document.createTextNode("The player has encountered a problem"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue