aboutsummaryrefslogtreecommitdiffstats
path: root/theme
diff options
context:
space:
mode:
authorGravatar Miika Turkia <miika.turkia@gmail.com>2014-06-06 19:48:41 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-06-06 10:18:07 -0700
commit8be25fa9d00d5b0c3fa55e8b1056ad30007f7e63 (patch)
treeb8b9555bdfa22bf431005f009fbedc6f10fd2f6d /theme
parent9abfe221000b7416e04062c52717fff1b251a902 (diff)
downloadsubsurface-8be25fa9d00d5b0c3fa55e8b1056ad30007f7e63.tar.gz
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 <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'theme')
-rw-r--r--theme/list_lib.js8
1 files changed, 4 insertions, 4 deletions
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 '<table><tr><td class="words">Date: </td><td>'+dive.date+
'</td><td class="words">&nbsp&nbsp&nbsp&nbsp&nbspTime: </td><td>'+dive.time +
- '</td><td class="words">&nbsp&nbsp&nbsp&nbsp&nbspLocation: </td><td>'+'<a onclick=\"Search_list_Modules(\''+dive.location+'\')\">'
- +dive.location +'</a>'+
+ '</td><td class="words">&nbsp&nbsp&nbsp&nbsp&nbspLocation: </td><td>'+'<a onclick=\"Search_list_Modules(\''+dive.location+'\')\">'+
+ dive.location +'</a>'+
'</td></tr></table><table><tr><td class="words">Rating:</td><td>'+putRating(dive.rating)+
'</td><td class="words">&nbsp&nbsp&nbspVisibilty:</td><td>'+putRating(dive.visibility)+
'</td></tr></table>'+
@@ -536,8 +536,8 @@ function showtrips(){
var divelist = document.getElementById('diveslist');
divelist.innerHTML="";
for(var i=0;i<trips.length;i++){
- divelist.innerHTML+='<ul id="trip_'+i+'" class="trips" onclick="toggle_trip_expansion('+i+')">'
- +trips[i].name+' ( '+trips[i].dives.length+' dives)'+'</ul>'+'<div id="trip_dive_list_'+i+'"></div>';
+ divelist.innerHTML+='<ul id="trip_'+i+'" class="trips" onclick="toggle_trip_expansion('+i+')">'+
+ trips[i].name+' ( '+trips[i].dives.length+' dives)'+'</ul>'+'<div id="trip_dive_list_'+i+'"></div>';
};
for(var i=0;i<trips.length;i++){
unexpand_trip(i);