Embed: improved handling of state changes, added options to hide error title

This commit is contained in:
Cat 2020-02-12 13:54:12 +01:00 committed by Thulinma
parent 214b584956
commit a75ac5713c
5 changed files with 31 additions and 37 deletions

View file

@ -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"));