X-Git-Url: https://scm.cri.mines-paristech.fr/git/Portfolio.git/blobdiff_plain/f0d912b0c1a0183f8e002934085c4adced6b379f..f8014f2a3d768a6366b422d7d08ad3ac75dc0b6b:/skins/photo_film_viewer.js?ds=sidebyside 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':