summaryrefslogtreecommitdiff
path: root/prefs.js
diff options
context:
space:
mode:
Diffstat (limited to 'prefs.js')
-rw-r--r--prefs.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/prefs.js b/prefs.js
index 1d410fd60..1f74ae83d 100644
--- a/prefs.js
+++ b/prefs.js
@@ -149,11 +149,11 @@ function infobox_callback() {
if (xmlhttp.readyState == 4) {
var box = document.getElementById('infoBox');
var shadow = document.getElementById('infoBoxShadow');
-
- if (box) {
- box.innerHTML=xmlhttp.responseText;
+ if (box) {
+ box.innerHTML=xmlhttp.responseText;
if (shadow) {
shadow.style.display = "block";
+ center_element(shadow);
} else {
box.style.display = "block";
}