浏览代码

UNDO: Auto scroll to make moe visible when opened

Vijayakrishnan Krishnan 4 年之前
父节点
当前提交
b0b6e27681
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      public/js/yemi.js

+ 2 - 2
public/js/yemi.js

@@ -309,10 +309,10 @@ var initMoes = function() {
                                 $('[moe]>form:not([show]):visible').hide();
                                 $(realForm).toggle(100);
                                 initPrimaryForm($(realForm));
-                                setTimeout(function() {
+                               /* setTimeout(function() {
                                     let submitButton = $(realForm).find('[submit]');
                                     if(submitButton.length) submitButton[0].scrollIntoView({behavior : "smooth"});
-                                }, 150);
+                                }, 150);*/
                             }, 100);
                         }
                     }