From 643b4b4c1ca3d418a8afb15f929431fd45821e3f Mon Sep 17 00:00:00 2001 From: Oliver Hamlet Date: Wed, 8 Jul 2015 11:42:59 +0100 Subject: [PATCH] Fix typo in plugin sorting data update. For #464. --- resources/report/js/events.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/report/js/events.js b/resources/report/js/events.js index fb6b9cf4..9bacab53 100644 --- a/resources/report/js/events.js +++ b/resources/report/js/events.js @@ -163,8 +163,8 @@ function onSortPlugins(evt) { } } if (!found) { - loot.game.plugins[i].push(new Plugin(plugin)); - loot.game.loadOrder.push(loot.game.plugins[i]); + loot.game.plugins.push(new Plugin(plugin)); + loot.game.loadOrder.push(loot.game.plugins[loot.game.plugins.length - 1]); } });