projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix bug in javascript : document.onload does not exists, window.onload was the one...
[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
..
0bf8eeb
100644
(file)
--- a/
htdocs/javascript/close_on_esc.js
+++ b/
htdocs/javascript/close_on_esc.js
@@
-25,5
+25,5
@@
function closePopup(e) {
}
}
-attachEvent(
document
, 'keydown', closePopup);
+attachEvent(
window
, 'keydown', closePopup);