From 2f43ea82f9f29c75dbac8d0c49ab48d9d3361af0 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Sun, 31 Mar 2019 07:39:06 -0400 Subject: [PATCH] Disable logging for tag truncation issue --- chrome/content/zotero/containers/tagSelector.jsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/chrome/content/zotero/containers/tagSelector.jsx b/chrome/content/zotero/containers/tagSelector.jsx index ea4806d988..192dbd5f8f 100644 --- a/chrome/content/zotero/containers/tagSelector.jsx +++ b/chrome/content/zotero/containers/tagSelector.jsx @@ -362,10 +362,7 @@ Zotero.TagSelector = class TagSelectorContainer extends React.PureComponent { let width = widths.get(name); if (width === undefined) { width = this.getTextWidth(name, hasColor ? fontBold : font); - // TEMP - if (Zotero.Debug.enabled) { - Zotero.debug(`Calculated ${hasColor ? 'bold ' : ''}width of ${width} for tag '${name}'`); - } + //Zotero.debug(`Calculated ${hasColor ? 'bold ' : ''}width of ${width} for tag '${name}'`); widths.set(name, width); } return width;