Skip to content

Commit 2986065

Browse files
authored
Merge pull request #185 from LukePrior/testing
set site in URL
2 parents f904b06 + 231bae5 commit 2986065

File tree

3 files changed

+172
-147
lines changed

3 files changed

+172
-147
lines changed

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ <h2>Recoveries</h2>
6666
<div id="recovery-list"><img style="width:90px;height:30px;display:block;margin:auto;" src="img/hab-spinner.gif"/><br></div>
6767
</div>
6868
<div class="slimContainer">
69-
<h2>Statistics</h2>
69+
<h2>Statistics WIP</h2>
7070
<hr/>
7171
<div id="leaderboard-list"><img style="width:90px;height:30px;display:block;margin:auto;" src="img/hab-spinner.gif"/><br></div>
7272
</div>

js/app.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ var wvar = {
6464
zoom: true,
6565
query: "",
6666
nyan: false,
67+
site: 0,
6768
};
6869

6970

@@ -127,6 +128,10 @@ function load_hash(no_refresh) {
127128
case "nyan":
128129
def[k] = !!parseInt(v);
129130
break;
131+
case "site":
132+
focusID = v;
133+
gotoSite(v);
134+
break;
130135
}
131136
});
132137

@@ -816,7 +821,6 @@ $(window).ready(function() {
816821
else map.overlayMapTypes.setAt("1", null);
817822
break;
818823
case "opt_layers_launches":
819-
showLaunchSites();
820824
if(on) {
821825
map.removeLayer(launches);
822826
} else {

0 commit comments

Comments
 (0)