Skip to content

Commit fc16a52

Browse files
committed
Bugfix: JS Error
1 parent 9a4afb6 commit fc16a52

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

views/user/recovery.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,5 +113,5 @@
113113
echo Html::endForm();
114114

115115
if ($preCode != '' && $preEmail != '') {
116-
$layout->addOnLoadJS('$("#recoveryPassword").scrollintoview().focus();');
116+
$layout->addOnLoadJS('$("#recoveryPassword").scrollintoview({top_offset: -30}); $("#recoveryPassword").focus();');
117117
}

0 commit comments

Comments
 (0)