From e13b7fc85e4757b03dc5395f8bbf3592208a49bc Mon Sep 17 00:00:00 2001 From: =?utf8?q?Beno=C3=AEt=20Pin?= Date: Fri, 30 Dec 2011 15:50:37 +0100 Subject: [PATCH 1/1] cleanup. --- skins/photo_film_viewer.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/skins/photo_film_viewer.js b/skins/photo_film_viewer.js index b68b664..ff6d619 100644 --- a/skins/photo_film_viewer.js +++ b/skins/photo_film_viewer.js @@ -571,8 +571,7 @@ FilmSlider.prototype.keyPressHandler = function(evt) { var target = getTargetedObject(evt); if (target.tagName == 'INPUT' || target.tagName== 'TEXTAREA') return; - var evt = evt = getEventObject(evt); - evt = getEventObject(evt); + var evt = getEventObject(evt); var charPress = String.fromCharCode((evt.keyCode) ? evt.keyCode : evt.which); switch(charPress) { case 'f': -- 2.20.1