From 5238f2ccc2b7f2969bda0416dadf1f257525f882 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20B=C3=B6hmer?= Date: Mon, 1 Aug 2022 01:03:55 +0200 Subject: [PATCH] Show attachment name in hoverpics again. --- assets/controllers/elements/hoverpic_controller.js | 1 + 1 file changed, 1 insertion(+) diff --git a/assets/controllers/elements/hoverpic_controller.js b/assets/controllers/elements/hoverpic_controller.js index 772404aa..1af8f921 100644 --- a/assets/controllers/elements/hoverpic_controller.js +++ b/assets/controllers/elements/hoverpic_controller.js @@ -10,6 +10,7 @@ export default class extends Controller { trigger: 'hover', placement: 'right', container: 'body', + 'title': this.element.dataset.title ?? null, content: function () { return ''; }