Skip to content

Commit cf650a1

Browse files
committed
remove dead code
1 parent d54136e commit cf650a1

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

earthlapse-hci/ui-globalcontrol.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
case "home":
77
var $home = $(".earthlapse-ui-globalcontrol-homebutton");
88
$home.on("click", function (e) {
9-
e.preventDefault();
109
fn();
1110
});
1211
break;
@@ -18,10 +17,6 @@
1817
var $control = $("<div class=\"earthlapse-ui-globalcontrol\" />");
1918

2019
var $home = $("<button class=\"ui-button earthlapse-ui-globalcontrol-item earthlapse-ui-globalcontrol-homebutton\">Home</button>");
21-
$home.on("click", function (e) {
22-
e.preventDefault();
23-
});
24-
2520
$control.append($home);
2621
$("#timeMachine").append($control);
2722
});

0 commit comments

Comments
 (0)