diff options
author | Miika Turkia <miika.turkia@gmail.com> | 2014-06-06 19:48:41 +0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-06-06 10:18:07 -0700 |
commit | 8be25fa9d00d5b0c3fa55e8b1056ad30007f7e63 (patch) | |
tree | b8b9555bdfa22bf431005f009fbedc6f10fd2f6d /theme | |
parent | 9abfe221000b7416e04062c52717fff1b251a902 (diff) | |
download | subsurface-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.js | 8 |
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">     Time: </td><td>'+dive.time + - '</td><td class="words">     Location: </td><td>'+'<a onclick=\"Search_list_Modules(\''+dive.location+'\')\">' - +dive.location +'</a>'+ + '</td><td class="words">     Location: </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">   Visibilty:</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); |