remove onpopstate stuff, and updated TODO with better way to deal with this

This commit is contained in:
2022-01-19 21:18:50 +11:00
parent f8cff5f73e
commit a2091f0194
3 changed files with 4 additions and 7 deletions

View File

@@ -163,10 +163,6 @@
{% if not InDBox %}
<script>
// do our own back button handling, TODO: 'dangerous' URLs, will be replaced with GETs first via history.replaceState()
window.onpopstate = function(e) {
window.history.back()
}
function SetViewingOptionsForSearchForm()
{
if( $('#noo').length )