Skip to content
Browse files

bug squashing. map url with username.

  • Loading branch information...
1 parent 976cc6a commit e094a6d7d63e716346bb60c6fed96d21980d65ea @xmatthewx committed May 2, 2012
Showing with 4 additions and 2 deletions.
  1. +3 −1 assets/www/bike.js
  2. +1 −1 assets/www/master.css
View
4 assets/www/bike.js
@@ -174,7 +174,9 @@ function feedback() {
}
function initmap() {
- var mapurl = "https://ideapublic.cartodb.com/tables/rides/embed_map?sql=SELECT%20*%20FROM%20rides%20where%20username%3D"+username;
+ username = localStorage.getItem('username');
+
+ var mapurl = "https://ideapublic.cartodb.com/tables/rides/embed_map?sql=SELECT%20*%20FROM%20rides%20where%20username%3D'"+username +"'";
document.getElementById('mapframe').src = mapurl;
}
View
2 assets/www/master.css
@@ -173,7 +173,7 @@ a#start:active {
background:rgba(255,255,255,0.3);
}
-#maplink { display:none; }
+#maplink { display:block; }
/*******************************
* Forms

0 comments on commit e094a6d

Please sign in to comment.
Something went wrong with that request. Please try again.