Explorar el Código

하나 더 추가

잉여개발기 (SPDV) hace 2 años
padre
commit
a77a23f15f
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      route/tool/func_render_namumark.py

+ 3 - 0
route/tool/func_render_namumark.py

@@ -2320,6 +2320,9 @@ class class_do_render_namumark:
             document.querySelectorAll('details').forEach((el) => {
                 new Accordion(el);
             });
+            if(window.location.hash !== '' && document.getElementById(window.location.hash.replace(/^#/, ''))) {
+                document.getElementById(window.location.hash.replace(/^#/, '')).focus();
+            }\n
         '''
 
     def __call__(self):