Disable logging for tag truncation issue
This commit is contained in:
parent
3ca5ac421c
commit
2f43ea82f9
1 changed files with 1 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue