Improved www.ttss.krakow.pl
Jacek Kowalski
2020-08-30 4bf9a457844e360187dc2b37bf164a3b3a58e73a
common.js
@@ -59,6 +59,7 @@
      var self = this;
      var request = new XMLHttpRequest();
      var promise = new Promise(function(resolve, reject) {
         request.open('GET', url, true);
         request.timeout = self.timeout;
         request.onreadystatechange = function() {
            if(this.readyState == 4) {
@@ -73,7 +74,6 @@
               }
            }
         };
         request.open('GET', url, true);
         request.send();
      });
      return new Deferred(promise, request);