summaryrefslogtreecommitdiff
path: root/frontend.js
diff options
context:
space:
mode:
Diffstat (limited to 'frontend.js')
-rw-r--r--frontend.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/frontend.js b/frontend.js
index c300c1c..e60d572 100644
--- a/frontend.js
+++ b/frontend.js
@@ -23,8 +23,9 @@ exports.start = function(config) {
slideStr = slideStr +'<li><img src="/'+slides['slides'][slide]['file']+'">';
}
if(slides['slides'][slide]['text'].length > 0) {
- slideStr = slideStr+'<div class="slide_desc"><h2>'+slides['slides'][slide]['head']+' - '+slides['slides'][slide]['text']+'</h2></div></img></li>';
+ slideStr = slideStr+'<div class="slide_desc"><h2>'+slides['slides'][slide]['head']+' - '+slides['slides'][slide]['text']+'</h2></div>';
}
+ slideStr = slideStr + '</img></li>';
}
var eventStr = '';
for(var date in slides['events']) {