From: Benoît Pin Date: Mon, 7 Apr 2014 11:17:39 +0000 (+0200) Subject: bugfix : XMLHttpRequest.status est un entier. X-Git-Url: https://scm.cri.ensmp.fr/git/Portfolio.git/commitdiff_plain/174995bb4169e32216998895a17afb2097cd64ab?ds=sidebyside;hp=c41e535e2e805f096dfe6554c0ab760350bb3729 bugfix : XMLHttpRequest.status est un entier. --- diff --git a/skins/photo_film_viewer.js b/skins/photo_film_viewer.js index c9615fb..2ebe6ca 100644 --- a/skins/photo_film_viewer.js +++ b/skins/photo_film_viewer.js @@ -357,7 +357,7 @@ FilmSlider.prototype.thumbnailClickHandler = function(evt) { break; case 4 : hideProgressImage(); - if (req.status === '200') { thisFS.populateViewer(req); } + if (req.status === 200) { thisFS.populateViewer(req); } break; } };