fix bug in javascript : document.onload does not exists, window.onload was the one...
[platal.git] / htdocs / javascript / xorg.js
index 02ef26a..902a58b 100644 (file)
@@ -106,7 +106,7 @@ function auto_links() {
 
 // {{{ function pa_onload
 
-attachEvent(document, 'load', auto_links);
+attachEvent(window, 'load', auto_links);
 
 // }}}