From 15be73975a8ce4c7f65491d82f702f4a2abdfdfa Mon Sep 17 00:00:00 2001 From: Oliver Hamlet Date: Mon, 11 Jan 2016 17:56:45 +0000 Subject: [PATCH] Remove unnecessary post-sort assignments Sorting doesn't change messages, tags or isDirty. They can be changed by a masterlist update, which may happen during sorting, but the masterlist update function takes care of updating that data. --- src/gui/html/js/events.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/gui/html/js/events.js b/src/gui/html/js/events.js index b268af6c..b31512c2 100644 --- a/src/gui/html/js/events.js +++ b/src/gui/html/js/events.js @@ -159,10 +159,6 @@ function onSortPlugins() { if (existingPlugin) { existingPlugin.crc = plugin.crc; existingPlugin.isEmpty = plugin.isEmpty; - - existingPlugin.messages = plugin.messages; - existingPlugin.tags = plugin.tags; - existingPlugin.isDirty = plugin.isDirty; } else { existingPlugin = new loot.Plugin(plugin); }