修复chrome浏览器有时候不能阻断的bug
pull/19/head
IYism 2015-09-25 16:33:11 +08:00
parent 2f5cf429ed
commit 667862223c
1 changed files with 4 additions and 2 deletions

View File

@ -223,10 +223,12 @@
$.ajax({ $.ajax({
type: "GET", type: "GET",
url: g_url, url: g_url,
success: window.open("/jlog/log_list/online/", "_self") success: function(){
document.location.reload();
}
// error: window.open(g_url, "_self") // error: window.open(g_url, "_self")
}); });
} }
</script> </script>
{% endblock %} {% endblock %}