잉여개발기 (SPDV) 2 лет назад
Родитель
Сommit
0df9d00040
1 измененных файлов с 3 добавлено и 0 удалено
  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):