From 8be25fa9d00d5b0c3fa55e8b1056ad30007f7e63 Mon Sep 17 00:00:00 2001 From: Miika Turkia Date: Fri, 6 Jun 2014 19:48:41 +0300 Subject: HTML: fix unexpectedly ended strings String concatenation must be stated at the end of a string line (not by starting the next line with the concatenation character). Signed-off-by: Miika Turkia Signed-off-by: Dirk Hohndel --- theme/list_lib.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'theme') diff --git a/theme/list_lib.js b/theme/list_lib.js index acbe95d77..bf1ef59b1 100644 --- a/theme/list_lib.js +++ b/theme/list_lib.js @@ -181,8 +181,8 @@ function getlimited (dive) { function getExpanded (dive) { return '
Date: '+dive.date+ '     Time: '+dive.time + - '     Location: '+'' - +dive.location +''+ + '     Location: '+''+ + dive.location +''+ '
Rating:'+putRating(dive.rating)+ '   Visibilty:'+putRating(dive.visibility)+ '
'+ @@ -536,8 +536,8 @@ function showtrips(){ var divelist = document.getElementById('diveslist'); divelist.innerHTML=""; for(var i=0;i' - +trips[i].name+' ( '+trips[i].dives.length+' dives)'+''+'
'; + divelist.innerHTML+='
    '+ + trips[i].name+' ( '+trips[i].dives.length+' dives)'+'
'+'
'; }; for(var i=0;i