From 7c609b1df560cd06e0a47a219164e16d7ba74b41 Mon Sep 17 00:00:00 2001 From: Bryce Allen Date: Thu, 6 Aug 2015 00:36:14 -0500 Subject: [PATCH] fix palico link to exclude missing weapons --- web/js/common.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/js/common.js b/web/js/common.js index ae0ea6d..eabddb9 100644 --- a/web/js/common.js +++ b/web/js/common.js @@ -254,7 +254,7 @@ function set_horn_melodies_title(weapon_data) { function get_calculating_palico_setup(weapon_data) { // NB: load_calculating_palico_data must be called first var name = weapon_data["name"]; - if (! name in PALICO_ID) { + if (! (name in PALICO_ID)) { return ""; }