From fb4bb95e9daf80eb22a1caa5d7a28c1e57f19424 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Mon, 5 Jul 2021 10:11:41 +0200 Subject: [PATCH] utils: fix typo in variable name Signed-off-by: Thomas Lamprecht --- src/Utils.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Utils.js b/src/Utils.js index 546cd64..8e1f9d4 100644 --- a/src/Utils.js +++ b/src/Utils.js @@ -544,7 +544,7 @@ utilities: { }); }, - updateColumnWidth: function(container, tresholdWidth) { + updateColumnWidth: function(container, thresholdWidth) { let mode = Ext.state.Manager.get('summarycolumns') || 'auto'; let factor; if (mode !== 'auto') { @@ -553,8 +553,8 @@ utilities: { factor = 1; } } else { - tresholdWidth = (tresholdWidth || 1400) + 1; - factor = Math.ceil(container.getSize().width / tresholdWidth); + thresholdWidth = (thresholdWidth || 1400) + 1; + factor = Math.ceil(container.getSize().width / thresholdWidth); } if (container.oldFactor === factor) {