projects
/
Portfolio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1f94620
)
cleanup.
master
author
Benoît Pin
<pin@cri.ensmp.fr>
Fri, 30 Dec 2011 14:50:37 +0000
(15:50 +0100)
committer
Benoît Pin
<pin@cri.ensmp.fr>
Fri, 30 Dec 2011 14:50:37 +0000
(15:50 +0100)
skins/photo_film_viewer.js
patch
|
blob
|
history
diff --git
a/skins/photo_film_viewer.js
b/skins/photo_film_viewer.js
index
b68b664
..
ff6d619
100644
(file)
--- 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 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':
var charPress = String.fromCharCode((evt.keyCode) ? evt.keyCode : evt.which);
switch(charPress) {
case 'f':