forked from CGM_Public/pretix_original
Fixed infinite reload loop
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
window.setInterval(function () {
|
||||
var intId = window.setInterval(function () {
|
||||
$.get(location.href + '?ajax=1', function (data, status) {
|
||||
if (data === "1") {
|
||||
window.clearInterval(intId);
|
||||
location.reload();
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user