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:
Miika Turkia 2014-07-14 20:41:12 +03:00 committed by Dirk Hohndel
parent db43fbbe8a
commit a50631e026

View file

@ -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;
}