Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Removed the back button configuration for demo purposes.

  • Loading branch information...
commit 82114e5bcbc519b6088692d7004391abb4ff3403 1 parent 37a7b5d
Howard Huang authored
Showing with 10 additions and 10 deletions.
  1. +9 −9 geocamCover/static/javascripts/app.js
  2. +1 −1  geocamUtilWeb
View
18 geocamCover/static/javascripts/app.js
@@ -441,21 +441,21 @@ function showLog(place_id) {
function showPage(page) {
// Add GeoCam to History IF not already in history.
- if (!backIsMap && page != "#map-page") {
- backIsMap = true;
- history.pushState(null, "Map", "http://localhost:8000");
- }
+ // if (!backIsMap && page != "#map-page") {
+ // backIsMap = true;
+ // history.pushState(null, "Map", "http://localhost:8000");
+ // }
$(".mobile-page").hide();
$(page).show();
}
function showMap() {
// Remove GeoCam from History
- if (backIsMap) {
- backIsMap = false;
- // HACKY AS HELL. LOLOLOLOLOLOLOLOL.
- history.go(-1);
- }
+ // if (backIsMap) {
+ // backIsMap = false;
+ // // HACKY AS HELL. LOLOLOLOLOLOLOLOL.
+ // history.go(-1);
+ // }
// Push history.
showPage("#map-page");
pageResize();
2  geocamUtilWeb
@@ -1 +1 @@
-Subproject commit 15261648a5521f766c1278bbd29fbcccac3f0c30
+Subproject commit c4a73dddbab1a6323d423a07b05fd92530b9308f
Please sign in to comment.
Something went wrong with that request. Please try again.