From 8ead6f1e3deb946c8ff614793f1637fe0e26efa0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Benoi=CC=82t=20Pin?= Date: Fri, 10 Oct 2014 16:11:10 +0200 Subject: [PATCH 1/1] jslint --- skins/photo_film_viewer.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/skins/photo_film_viewer.js b/skins/photo_film_viewer.js index c6f583b..fa929b2 100644 --- a/skins/photo_film_viewer.js +++ b/skins/photo_film_viewer.js @@ -211,9 +211,9 @@ FilmSlider.prototype.getBestFitSize = function(ratio) { }; FilmSlider.prototype.adjustImage = function(img) { - var dispWidth = parseInt(this.stretchable.style.width); + var dispWidth = parseInt(this.stretchable.style.width, 10); var imgWidth = img.naturalWidth; - var dispHeight = parseInt(this.stretchable.style.height); + var dispHeight = parseInt(this.stretchable.style.height, 10); var imgHeight = img.naturalHeight; var ratio; -- 2.20.1