From af57419edf1bac4efc48d253a752af85de9c9602 Mon Sep 17 00:00:00 2001 From: Svornost <11434-svornost@users.noreply.gitgud.io> Date: Wed, 29 Jul 2020 19:03:47 -0700 Subject: [PATCH] Fix slave description dialog ignoring $seeImages again. --- src/js/utilsSC.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/utilsSC.js b/src/js/utilsSC.js index 2aec598922d..c424d660b07 100644 --- a/src/js/utilsSC.js +++ b/src/js/utilsSC.js @@ -274,7 +274,7 @@ App.UI.disabledLink = function(link, reasons) { /** handler function for slaveDescriptionDialog. do not call directly. */ App.UI._showDescriptionDialog = function(slave) { Dialog.setup(SlaveFullName(slave)); - const image = App.UI.DOM.makeElement("div", App.Art.SlaveArtElement(slave, 2, 0), ["imageRef", "medImg"]); + const image = V.seeImages ? App.UI.DOM.makeElement("div", App.Art.SlaveArtElement(slave, 2, 0), ["imageRef", "medImg"]) : ''; Dialog.append(image).append(App.Desc.longSlave(slave, {eventDescription: 1})); Dialog.open(); }; -- GitLab