Spaces:
Sleeping
Sleeping
Omar ID EL MOUMEN commited on
Commit ·
277a249
1
Parent(s): db5cf0a
Line break titles
Browse files- static/script.js +1 -1
static/script.js
CHANGED
|
@@ -164,7 +164,7 @@ document.addEventListener('DOMContentLoaded', function() {
|
|
| 164 |
let t = "";
|
| 165 |
if(typeof data.titles == Array){
|
| 166 |
data.titles.forEach(title => {
|
| 167 |
-
t += title + "
|
| 168 |
});
|
| 169 |
popupText.textContent = t;
|
| 170 |
}else {
|
|
|
|
| 164 |
let t = "";
|
| 165 |
if(typeof data.titles == Array){
|
| 166 |
data.titles.forEach(title => {
|
| 167 |
+
t += title + "<br>";
|
| 168 |
});
|
| 169 |
popupText.textContent = t;
|
| 170 |
}else {
|