Show attachment name in hoverpics again.

This commit is contained in:
Jan Böhmer 2022-08-01 01:03:55 +02:00
parent b8500bcef6
commit 5238f2ccc2

View file

@ -10,6 +10,7 @@ export default class extends Controller {
trigger: 'hover',
placement: 'right',
container: 'body',
'title': this.element.dataset.title ?? null,
content: function () {
return '<img class="img-fluid" src="' + thumbnail_url + '" />';
}