mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Fixed plugin messages update after user edits.
When there weren't already any messages for the plugin, the new messages weren't being displayed. Fixes #283.
This commit is contained in:
@@ -126,6 +126,7 @@ function Plugin(obj) {
|
||||
messageUL.appendChild(messageLi);
|
||||
|
||||
});
|
||||
this.card.getElementsByTagName('ul')[0].classList.toggle('hidden', false);
|
||||
} else {
|
||||
this.card.getElementsByTagName('ul')[0].classList.toggle('hidden', true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user