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
@ -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…
x
Reference in New Issue
Block a user