summaryrefslogtreecommitdiff
path: root/StoneIsland/www/js/lib/blogs/ArchiveView.js
diff options
context:
space:
mode:
Diffstat (limited to 'StoneIsland/www/js/lib/blogs/ArchiveView.js')
-rwxr-xr-xStoneIsland/www/js/lib/blogs/ArchiveView.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/StoneIsland/www/js/lib/blogs/ArchiveView.js b/StoneIsland/www/js/lib/blogs/ArchiveView.js
index f10f7744..2fd2497b 100755
--- a/StoneIsland/www/js/lib/blogs/ArchiveView.js
+++ b/StoneIsland/www/js/lib/blogs/ArchiveView.js
@@ -58,7 +58,6 @@ var ArchiveView = ScrollableView.extend({
// id title images[ uri label code caption ]
this.data.forEach(function(row, index){
-
var t = this.menu_template.replace(/{{title}}/, row.title)
var $t = $(t)
$t.data("aria-label", stonewash(row.title.replace(/'/g, " '").trim()))
@@ -86,7 +85,7 @@ var ArchiveView = ScrollableView.extend({
var $t = $("<div>")
$t.addClass("row").addClass("loading")
var t = this.row_template.replace(/{{image}}/, cell.uri)
- .replace(/{{label}}/, cell.label)
+ .replace(/{{label}}/g, cell.label)
.replace(/{{code}}/, cell.code)
.replace(/{{caption}}/, cell.caption)
$t.html(t)