Skip to content

Commit

Permalink
css: Support caption of image gallery
Browse files Browse the repository at this point in the history
  • Loading branch information
doortts committed Sep 24, 2017
1 parent 14b787e commit 8303ad8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/views/layout.scala.html
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,11 @@
elementParse: function (item) {
item.src = item.el.attr('src');
}
},
image: {
titleSrc: function (item) {
return item.el.attr('alt');
}
}
});
});
Expand Down

0 comments on commit 8303ad8

Please sign in to comment.