diff --git a/module/ai/view/promptdesignprogressbar.html.php b/module/ai/view/promptdesignprogressbar.html.php index 6edc63fc1b..b9a303e12a 100644 --- a/module/ai/view/promptdesignprogressbar.html.php +++ b/module/ai/view/promptdesignprogressbar.html.php @@ -14,11 +14,11 @@
ai->designStepNav as $index => $stepLang) { @@ -27,10 +27,7 @@ $nextStepStatus = next($stepstatus); if($index != 'finalize') { - $arrowClass = $currentStepStatus == $nextStepStatus - || ($currentStepStatus == 'clickable' && $nextStepStatus == 'disabled') - ? 'outline-arrow' - : 'solid-arrow'; + $arrowClass = $currentStepStatus == $nextStepStatus ||($currentStepStatus == 'clickable' && $nextStepStatus == 'disabled') ? 'outline-arrow' : 'solid-arrow'; $arrow = "
"; } echo "
$stepLang$arrow
"; @@ -59,7 +56,7 @@ }); step.addEventListener('mouseleave', function (e) { - if (step.lastElementChild?.classList.contains('hover-arrow')) + if(step.lastElementChild?.classList.contains('hover-arrow')) { step.lastElementChild.classList.remove('hover-arrow'); step.lastElementChild.classList.add('outline-arrow');