fix go back button
This commit is contained in:
parent
d1d87b4b97
commit
160d2faab6
@ -1,5 +1,4 @@
|
||||
var start = function (url) {
|
||||
|
||||
var es = new ReconnectingEventSource(url);
|
||||
|
||||
es.onopen = function () {
|
||||
@ -34,7 +33,7 @@ var start = function (url) {
|
||||
}
|
||||
|
||||
if (message.status == "FAILED") {
|
||||
window.location.reload();
|
||||
window.location.reload();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -45,7 +45,7 @@
|
||||
{% block script %}
|
||||
<script>
|
||||
function goBack() {
|
||||
window.history.back();
|
||||
window.location=document.referrer;
|
||||
}
|
||||
</script>
|
||||
{% endblock %}
|
||||
Loading…
x
Reference in New Issue
Block a user