X-Git-Url: https://git.ladys.computer/Gitweb/blobdiff_plain/67c4b962f002a1cec72af35bfbec00455d8a9b0e2c250d9c0717f9c29f371bfd..fc87038c3e043a49ddf9fdf04e40c8fcf1095e0b97a4ba8bb3356e9da6c63660:/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) {