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