projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix Javascript for IE
[platal.git]
/
htdocs
/
javascript
/
close_on_esc.js
diff --git
a/htdocs/javascript/close_on_esc.js
b/htdocs/javascript/close_on_esc.js
index
7fc4a41
..
b086c93
100644
(file)
--- a/
htdocs/javascript/close_on_esc.js
+++ b/
htdocs/javascript/close_on_esc.js
@@
-1,5
+1,5
@@
/***************************************************************************
/***************************************************************************
- * Copyright (C) 2003-200
4
Polytechnique.org *
+ * Copyright (C) 2003-200
7
Polytechnique.org *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
@@
-25,5
+25,5
@@
function closePopup(e) {
}
}
}
}
-attachEvent(
document
, 'keydown', closePopup);
+attachEvent(
window
, 'keydown', closePopup);