ui: finalize wizard hidden state toggles
This commit is contained in:
@@ -88,10 +88,10 @@
|
||||
element.textContent = tfKey('wizard.step_short', { step: stepNumber });
|
||||
});
|
||||
|
||||
document.querySelectorAll('.step-pane').forEach(function(pane) { pane.style.display = 'none'; });
|
||||
document.querySelectorAll('.step-pane').forEach(function(pane) { pane.hidden = true; });
|
||||
var panelId = step === 3 ? step3PanelId() : 'step-panel-' + step;
|
||||
var pane = document.getElementById(panelId);
|
||||
if (pane) pane.style.display = '';
|
||||
if (pane) pane.hidden = false;
|
||||
|
||||
document.querySelectorAll('.step-item').forEach(function(item, index) {
|
||||
var stepNumber = index + 1;
|
||||
|
||||
Reference in New Issue
Block a user