fix: Previous XHR not aborted (#1163)

This commit is contained in:
Kroese
2026-05-29 14:33:23 +02:00
committed by GitHub
parent 10c902bc9b
commit 48ef47b85b

View File

@@ -7,6 +7,10 @@ function getInfo() {
var url = "msg.html";
try {
if (request) {
request.abort();
}
if (window.XMLHttpRequest) {
request = new XMLHttpRequest();
} else {