mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Fixed JS bug.
Introduced when adding the core-drawer-panel.
This commit is contained in:
@@ -156,7 +156,7 @@ function Plugin(obj) {
|
||||
/* Fill in messages. */
|
||||
this.updateCardMessages();
|
||||
|
||||
document.getElementsByTagName('main')[0].appendChild(card);
|
||||
document.getElementById('main').appendChild(card);
|
||||
}
|
||||
|
||||
Plugin.prototype.createListItem = function() {
|
||||
|
||||
@@ -1374,7 +1374,7 @@ function initVars() {
|
||||
loot.game.plugins = game.plugins;
|
||||
} catch (e) {
|
||||
console.log(e);
|
||||
console.log('getGameData response: ' + results[3]);
|
||||
console.log('getGameData response: ' + result);
|
||||
}
|
||||
|
||||
applySavedFilters();
|
||||
|
||||
Reference in New Issue
Block a user