Fixed JS bug.

Introduced when adding the core-drawer-panel.
This commit is contained in:
Oliver Hamlet
2014-11-07 18:49:43 +00:00
parent 1e52805329
commit c9c321bc34
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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() {
+1 -1
View File
@@ -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();