Closed melikecode closed 7 years ago
For ease of use on mobiles.
Add to week, month, target .erb files, at the bottom of the page somewhere:
<a href="href="javascript:history.back()">GO BACK
...note you may want to put some padding or margin at the top so that it's not too close to all the main stuff on the page
added the go back button but the link is broken
What are you seeing or not seeing?
Ahh oops i think I forgot to include the script information see below
http://www.w3schools.com/jsref/met_his_back.asp
fixed it now, it didn't like the href after a ref
For ease of use on mobiles.
Add to week, month, target .erb files, at the bottom of the page somewhere:
<a href="href="javascript:history.back()">
...note you may want to put some padding or margin at the top so that it's not too close to all the main stuff on the page