Browse Source

trigger: Error goes to msgBox

Aubort Jean-Baptiste 7 years ago
parent
commit
6bb373fc0d
1 changed files with 2 additions and 2 deletions
  1. 2 2
      main.js

+ 2 - 2
main.js

@@ -83,8 +83,8 @@ function toggleDiv(div, show){
 }
 
 function displayError() {
-    document.body.style.background = "red";
-    document.body.innerHTML = "Error connecting to fixme server";
+    msgBlock.style.background = "red";
+    msgBlock.innerHTML = "Error connecting to fixme server";
 }
 
 var baseUrl = "https://fixme.ch/cgi-bin/twitter.pl";