From cf650a1955a94660a4ef268b0593899469d24382 Mon Sep 17 00:00:00 2001 From: yzy0806 Date: Mon, 2 May 2016 11:39:40 -0400 Subject: [PATCH] remove dead code --- earthlapse-hci/ui-globalcontrol.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/earthlapse-hci/ui-globalcontrol.js b/earthlapse-hci/ui-globalcontrol.js index 5a89b7df..ee8bfff6 100644 --- a/earthlapse-hci/ui-globalcontrol.js +++ b/earthlapse-hci/ui-globalcontrol.js @@ -6,7 +6,6 @@ case "home": var $home = $(".earthlapse-ui-globalcontrol-homebutton"); $home.on("click", function (e) { - e.preventDefault(); fn(); }); break; @@ -18,10 +17,6 @@ var $control = $("
"); var $home = $(""); - $home.on("click", function (e) { - e.preventDefault(); - }); - $control.append($home); $("#timeMachine").append($control); });