From 407a73cc89c15ae44d094d280456110c897a739b Mon Sep 17 00:00:00 2001 From: Alexandre Iooss Date: Tue, 1 Mar 2022 21:41:31 +0100 Subject: [PATCH] Add titles to viewer action buttons --- photologue/static/lightgallery/plugins/admin/lg-admin.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/photologue/static/lightgallery/plugins/admin/lg-admin.js b/photologue/static/lightgallery/plugins/admin/lg-admin.js index 6884b2d..9f8695c 100644 --- a/photologue/static/lightgallery/plugins/admin/lg-admin.js +++ b/photologue/static/lightgallery/plugins/admin/lg-admin.js @@ -18,15 +18,15 @@ class lgAdmin { const reportIcon = ""; // Add button linking to Django admin page - this.core.$toolbar.append(`${adminIcon}`); + this.core.$toolbar.append(`${adminIcon}`); document.getElementById("lg-admin").style.display = this.isStaff ? 'block' : 'none'; // Add button to delete photo - this.core.$toolbar.append(`${deleteIcon}`); + this.core.$toolbar.append(`${deleteIcon}`); document.getElementById("lg-delete").style.display = this.isStaff ? 'block' : 'none'; // Add button to report photo - this.core.$toolbar.append(`${reportIcon}`); + this.core.$toolbar.append(`${reportIcon}`); this.core.LGel.on("lgAfterSlide.admin", this.onAfterSlide.bind(this)); }