Browse Source

하나 더 추가

잉여개발기 (SPDV) 2 years ago
parent
commit
a77a23f15f
1 changed files with 3 additions and 0 deletions
  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):