Oleksandr Naumov 5 лет назад
Родитель
Сommit
1088c4ce97
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      priv/js/comboLookup.js

+ 1 - 1
priv/js/comboLookup.js

@@ -88,7 +88,7 @@ function set_focus(elem, scroll) {
   if (elem) {
     if(currentItem) {currentItem.className = "dropdown-item"}
     elem.className = "dropdown-item focus"
-    if (scroll==true) {elem.scrollIntoView({block: "center", inline: "nearest"})}
+    if (scroll==true) {elem.scrollIntoView({block: "nearest", inline: "nearest"})}
     currentItem = elem
   }
 }