mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-01 00:43:24 +00:00
Fix string continuation
Concatenated string should have the plus sign at the end of the cut line. Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
db43fbbe8a
commit
a50631e026
1 changed files with 2 additions and 2 deletions
|
@ -776,8 +776,8 @@ function get_dive_photos(dive)
|
|||
var slider = "";
|
||||
document.getElementById("divephotos").style.display = 'block';
|
||||
for (var i = 0; i < dive.photos.length; i++) {
|
||||
slider += '<img src="'+location.pathname
|
||||
+'_files/photos/'+dive.photos[i].filename+'" alt="" height="240" width="240">';
|
||||
slider += '<img src="'+location.pathname +
|
||||
'_files/photos/'+dive.photos[i].filename+'" alt="" height="240" width="240">';
|
||||
}
|
||||
return slider;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue