From a184b2b812405a55a63bf7d5718963f519fb3c95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tam=C3=A1s=20Zolnai?= Date: Fri, 6 Dec 2019 18:54:26 +0100 Subject: [PATCH] This is not needed anymore. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I61c1e8eada01491ccdf1a43e030ec8d7229d9680 Reviewed-on: https://gerrit.libreoffice.org/84663 Tested-by: Jenkins CollaboraOffice Reviewed-by: Tamás Zolnai --- loleaflet/src/control/Control.JSDialogBuilder.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/loleaflet/src/control/Control.JSDialogBuilder.js b/loleaflet/src/control/Control.JSDialogBuilder.js index 936b1480d..cde756651 100644 --- a/loleaflet/src/control/Control.JSDialogBuilder.js +++ b/loleaflet/src/control/Control.JSDialogBuilder.js @@ -1399,7 +1399,7 @@ L.Control.JSDialogBuilder = L.Control.extend({ var icon = null; var commandName = data.command ? data.command.substring('.uno:'.length) : data.id; - if (commandName && commandName.length && L.LOUtil.existsIconForCommand(commandName)) { + if (commandName && commandName.length) { var iconSpan = L.DomUtil.create('span', 'menu-entry-icon ' + commandName.toLowerCase(), menuEntry); var iconPath = 'images/lc_' + commandName.toLowerCase() + '.svg'; icon = L.DomUtil.create('img', '', iconSpan);