From 3d2bf753d4e813362483a357156ea045727d9b56 Mon Sep 17 00:00:00 2001 From: hallgren Date: Fri, 24 Sep 2010 12:47:18 +0000 Subject: [PATCH] minibar.html: specify charset, move initialization Added a meta tag to specify that the file is in UTF-8. This makes the browser (at least Firefox) assume that the JavaScript files are also in UTF-8, it seems. Moved the call to start_minibar() from the to the end of the file. The onload action is not executed until all images in the document has been loaded, while javascipt at the end of the file is executed as soon as the HTML file has been loaded. (Calling start_minibar() from the head of the document would be too soon, since it refers to elements in the body, which hasn't been loaded yet.) --- src/runtime/javascript/minibar/minibar.html | 33 ++++++++++++--------- 1 file changed, 19 insertions(+), 14 deletions(-) diff --git a/src/runtime/javascript/minibar/minibar.html b/src/runtime/javascript/minibar/minibar.html index 4e5c1f161..da7d66a55 100644 --- a/src/runtime/javascript/minibar/minibar.html +++ b/src/runtime/javascript/minibar/minibar.html @@ -4,23 +4,14 @@ - + + + - +

Minibar

@@ -32,12 +23,26 @@ var my_options= { & Translator] -HTML Last modified: Fri May 28 18:16:11 CEST 2010 +HTML Last modified: Fri Sep 24 14:30:47 CEST 2010
TH
+