Skip to content

Commit

Permalink
fix broken thumbnail display in LTI-plugin
Browse files Browse the repository at this point in the history
the former code showed each character of the preview thumbnail urls in an image tag, which filled up the page without sense
  • Loading branch information
BenjaminBeichler authored May 2, 2020
1 parent 4f786f7 commit 55e44e9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions bbb-lti/grails-app/views/tool/index.gsp
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,7 @@
<g:if test="${r.published}">
<div>
<g:each in="${r.thumbnails}" var="thumbnail">
<g:each in="${thumbnail.content}" var="thumbnail_url">
<img src="${thumbnail_url}" class="thumbnail"/>
</g:each>
<img src="${thumbnail.content}" class="thumbnail"/>
</g:each>
</div>
</g:if>
Expand Down

0 comments on commit 55e44e9

Please sign in to comment.