bugfix : XMLHttpRequest.status est un entier.
authorBenoît Pin <benoit.pin@gmail.com>
Mon, 7 Apr 2014 11:17:39 +0000 (13:17 +0200)
committerBenoît Pin <benoit.pin@gmail.com>
Mon, 7 Apr 2014 11:17:39 +0000 (13:17 +0200)
skins/photo_film_viewer.js

index c9615fb..2ebe6ca 100644 (file)
@@ -357,7 +357,7 @@ FilmSlider.prototype.thumbnailClickHandler = function(evt) {
                                        break;
                                case 4 :
                                        hideProgressImage();
                                        break;
                                case 4 :
                                        hideProgressImage();
-                                       if (req.status === '200') { thisFS.populateViewer(req); }
+                                       if (req.status === 200) { thisFS.populateViewer(req); }
                                        break;
                        }
                };
                                        break;
                        }
                };