Browse Source

Merge remote-tracking branch 'origin' into prod

root 2 years ago
parent
commit
bf43b9ac30
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      app/static/js/app.js

+ 2
- 2
app/static/js/app.js View File

@@ -72,9 +72,9 @@ function displayMain(data) {
72 72
     if (typeof data["title"] !== "undefined") { document.getElementsByTagName("title")[0].innerHTML = data["title"] + " | Radio Rhino"; }
73 73
     else { document.getElementsByTagName("title")[0].innerHTML = "Radio Rhino"}
74 74
     if (typeof data["description"] !== "undefined") {
75
-      document.getElementsByName("description")[0].innerHTML = data["description"]; }
75
+      document.getElementsByName("description")[0].setAttribute("content", data["description"]); }
76 76
     else {
77
-      document.getElementsByName("description")[0].innerHTML = "Radio radicale pour personnes sensibles." ; }
77
+      document.getElementsByName("description")[0].setAttribute("content", "Radio radicale pour personnes sensibles."); }
78 78
 }
79 79
 
80 80
 function checkLive() {

Loading…
Cancel
Save