mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-25 19:28:51 +02:00
Show attachment name in hoverpics again.
This commit is contained in:
parent
b8500bcef6
commit
5238f2ccc2
1 changed files with 1 additions and 0 deletions
|
@ -10,6 +10,7 @@ export default class extends Controller {
|
||||||
trigger: 'hover',
|
trigger: 'hover',
|
||||||
placement: 'right',
|
placement: 'right',
|
||||||
container: 'body',
|
container: 'body',
|
||||||
|
'title': this.element.dataset.title ?? null,
|
||||||
content: function () {
|
content: function () {
|
||||||
return '<img class="img-fluid" src="' + thumbnail_url + '" />';
|
return '<img class="img-fluid" src="' + thumbnail_url + '" />';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue