X-Git-Url: https://git.ladys.computer/Gitweb/blobdiff_plain/67c4b962f002a1cec72af35bfbec00455d8a9b0e2c250d9c0717f9c29f371bfd..403b88e6b103b4c667c3c2cb5470583181b4d42eec03b27c11a58e7c7dd67a0d:/gitweb.js diff --git a/gitweb.js b/gitweb.js index 0c0b6a6..1f77d37 100644 --- a/gitweb.js +++ b/gitweb.js @@ -779,7 +779,12 @@ function handleResponse() { } // the server returned error - if (xhr.readyState === 3 && xhr.status !== 200) { + // try ... catch block is to work around bug in IE8 + try { + if (xhr.readyState === 3 && xhr.status !== 200) { + return; + } + } catch (e) { return; } if (xhr.readyState === 4 && xhr.status !== 200) {