From 4bf9a457844e360187dc2b37bf164a3b3a58e73a Mon Sep 17 00:00:00 2001 From: Jacek Kowalski <Jacek@jacekk.info> Date: Sun, 30 Aug 2020 20:40:28 +0000 Subject: [PATCH] Fix right panel on Safari browser (overflow: auto + position: fixed) --- common.js | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/common.js b/common.js index ef8ee79..4c7b840 100644 --- a/common.js +++ b/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); -- Gitblit v1.9.1