Formating whitespace
parent
5d2001d369
commit
dae41bc477
17
js/level2.js
17
js/level2.js
|
@ -256,12 +256,7 @@ function l2events() {
|
|||
var label = $('<h1>').html(l2event.label).text();
|
||||
var description = $('<p>').html(l2event.has_subtitle).text();
|
||||
|
||||
output += '<div class="panel">'
|
||||
+ '<h1>' + label + ' <small>'
|
||||
+ moment( l2event.startdate, "YYYY-MM-DD HH:mm:ss").format( 'dddd, Do \of MMMM' )
|
||||
+ '</small></h1>'
|
||||
+ description
|
||||
+ '</div>';
|
||||
output += '<div class="panel">' + '<h1>' + label + ' <small>' + moment(l2event.startdate, "YYYY-MM-DD HH:mm:ss").format('dddd, Do \of MMMM') + '</small></h1>' + description + '</div>';
|
||||
|
||||
};
|
||||
|
||||
|
@ -289,10 +284,7 @@ function wortLuNews() {
|
|||
|
||||
var article = articles[ArticleNR];
|
||||
|
||||
output += '<div class="panel">'
|
||||
+ '<h1>' + article.title + '</h1>'
|
||||
+ article.teaser
|
||||
+ '</div>';
|
||||
output += '<div class="panel">' + '<h1>' + article.title + '</h1>' + article.teaser + '</div>';
|
||||
|
||||
}
|
||||
|
||||
|
@ -320,10 +312,7 @@ function cflNews() {
|
|||
.find("item")
|
||||
.each(function() {
|
||||
|
||||
output += '<div class="panel">'
|
||||
+ '<h1>' + $(this).find("title").text() + '</h1>'
|
||||
+ $(this).find("description").text()
|
||||
+ '</div>';
|
||||
output += '<div class="panel">' + '<h1>' + $(this).find("title").text() + '</h1>' + $(this).find("description").text() + '</div>';
|
||||
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue