Commit 7ac4180c authored by Peter Harrison's avatar Peter Harrison

[#30] Disable back button in browser, as this backs user out of Gravity.

parent 2a87155a
......@@ -37,6 +37,14 @@
<script src="scripts/core/view.js" type="text/javascript"></script>
<script src="scripts/core/filter.js" type="text/javascript"></script>
<script src="scripts/core/search.js" type="text/javascript"></script>
<script type="text/javascript">
history.pushState({ page: 1 }, "title 1", "#nbb");
window.onhashchange = function (event) {
window.location.hash = "nbb";
<body id="gravity">
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment