From a1188c15c0eb18fc8831e36f6c6d8f19dbc3d141 Mon Sep 17 00:00:00 2001 From: Marcel Klehr Date: Wed, 16 Jan 2013 19:47:54 +0100 Subject: [PATCH] [html10n] Fix onload event listener (must be attached to window!) --- src/static/js/html10n.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/static/js/html10n.js b/src/static/js/html10n.js index c45f4b31b..b2c4e6195 100644 --- a/src/static/js/html10n.js +++ b/src/static/js/html10n.js @@ -883,7 +883,7 @@ window.html10n = (function(window, document, undefined) { html10n.index() }, false) else if (window.attachEvent) - document.attachEvent('onload', function() { + window.attachEvent('onload', function() { html10n.index() }, false)