From 56421ab07441286cc1c54a496c2ee9e4efe2f6cc Mon Sep 17 00:00:00 2001 From: Andrew Miner Date: Wed, 21 Aug 2013 01:04:48 -0700 Subject: [PATCH] Remove toolsIncluded URL parameter --- html/crafting.js | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/html/crafting.js b/html/crafting.js index 69aca7a07..e8c0b8016 100644 --- a/html/crafting.js +++ b/html/crafting.js @@ -118,13 +118,6 @@ function parseUrlParameters() { $("#crafting_error").fadeIn(FADE_DURATION).delay(ERROR_DISPLAY_DURATION).fadeOut(FADE_DURATION); } } - - __toolsIncluded = $.url().param('toolsIncluded') === "true"; - if (__toolsIncluded) { - $("#tools_included").attr("checked", true); - } else { - $("#tools_included").removeAttr("checked"); - } } function updateCraftingSelector() { @@ -155,9 +148,7 @@ function updateCraftingSelector() { function updatePageState(count, recipeName) { var newTitle = "Crafting Guide: " + count + " " + recipeName; - var newLink = "?count=" + count + - "&recipeName=" + encodeURIComponent(recipeName) + - (__toolsIncluded ? "&toolsIncluded=true" : ""); + var newLink = "?count=" + count + "&recipeName=" + encodeURIComponent(recipeName); newLink = newLink.replace(/%20/g, "+"); document.title = newTitle;