From b720758dacc1b2a15b832cd2b62d6e201e0cc0f4 Mon Sep 17 00:00:00 2001 From: Beakerboy Date: Thu, 4 Dec 2014 01:41:48 -0500 Subject: [PATCH] Fix possible minor bug. I don't know if the parser will know what you meant, or if issues could happen due to the semicolon instead of the comma. --- plugins/uniques.user.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/uniques.user.js b/plugins/uniques.user.js index bd3f1dfd..516a3133 100644 --- a/plugins/uniques.user.js +++ b/plugins/uniques.user.js @@ -175,7 +175,7 @@ window.plugin.uniques.updateCheckedAndHighlight = function(guid) { if (guid == window.selectedPortal) { - var uniqueInfo = plugin.uniques.uniques[guid]; + var uniqueInfo = plugin.uniques.uniques[guid], visited = (uniqueInfo && uniqueInfo.visited) || false, captured = (uniqueInfo && uniqueInfo.captured) || false; $('#visited').prop('checked', visited);