summaryrefslogtreecommitdiffstats
path: root/theme
diff options
context:
space:
mode:
authorGravatar Miika Turkia <miika.turkia@gmail.com>2014-07-14 20:41:12 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-07-14 21:38:22 -0700
commita50631e026834c6f2057fc8e1f81704ecc5d1d74 (patch)
treef8f7c08d6a03bcceb3decd6b81e02afba6c58057 /theme
parentdb43fbbe8a5cf97a15182a3395eed0749aeb622d (diff)
downloadsubsurface-a50631e026834c6f2057fc8e1f81704ecc5d1d74.tar.gz
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>
Diffstat (limited to 'theme')
-rw-r--r--theme/list_lib.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/theme/list_lib.js b/theme/list_lib.js
index 0861dd2b0..89adba98b 100644
--- a/theme/list_lib.js
+++ b/theme/list_lib.js
@@ -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;
}