diff options
author | Benjamin Kiessling <mittagessen@l.unchti.me> | 2012-01-16 15:34:10 +0100 |
---|---|---|
committer | Benjamin Kiessling <mittagessen@l.unchti.me> | 2012-01-16 15:34:10 +0100 |
commit | 14ddbaa1c62b0661fb4d6da1e6739f815901ebb8 (patch) | |
tree | a2d16a3985ad7b980a5b5d0b267128ceede0b800 /frontend.js | |
parent | 2b9c8aaefa38ded22efe3b3f4f8bd1eedf6ee6a5 (diff) |
Change frontend code to properly close <li> tag
Diffstat (limited to 'frontend.js')
-rw-r--r-- | frontend.js | 3 |
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']) { |