mirror of
https://git.proxmox.com/git/proxmox-widget-toolkit
synced 2025-05-29 21:16:13 +00:00
utils: fix typo in variable name
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
5b2485ace3
commit
fb4bb95e9d
@ -544,7 +544,7 @@ utilities: {
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
updateColumnWidth: function(container, tresholdWidth) {
|
updateColumnWidth: function(container, thresholdWidth) {
|
||||||
let mode = Ext.state.Manager.get('summarycolumns') || 'auto';
|
let mode = Ext.state.Manager.get('summarycolumns') || 'auto';
|
||||||
let factor;
|
let factor;
|
||||||
if (mode !== 'auto') {
|
if (mode !== 'auto') {
|
||||||
@ -553,8 +553,8 @@ utilities: {
|
|||||||
factor = 1;
|
factor = 1;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
tresholdWidth = (tresholdWidth || 1400) + 1;
|
thresholdWidth = (thresholdWidth || 1400) + 1;
|
||||||
factor = Math.ceil(container.getSize().width / tresholdWidth);
|
factor = Math.ceil(container.getSize().width / thresholdWidth);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (container.oldFactor === factor) {
|
if (container.oldFactor === factor) {
|
||||||
|
Loading…
Reference in New Issue
Block a user