Explorar o código

UNDO: Auto scroll to make moe visible when opened

Vijayakrishnan Krishnan %!s(int64=4) %!d(string=hai) anos
pai
achega
b0b6e27681
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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);
                         }
                     }