File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,14 +33,6 @@ export function reinitPage() {
3333 loadMermaid ( ) ;
3434 loadTooptip ( ) ;
3535
36- /* Re-trigger busuanzi after PJAX replaces footer DOM */
37- var oldBsz = document . getElementById ( 'busuanzi_script' ) ;
38- if ( oldBsz ) oldBsz . remove ( ) ;
39- var bsz = document . createElement ( 'script' ) ;
40- bsz . id = 'busuanzi_script' ;
41- bsz . src = 'https://busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js?' + Date . now ( ) ;
42- document . body . appendChild ( bsz ) ;
43-
4436 console . log ( '[Blog] Page components reinitialized' ) ;
4537}
4638
Original file line number Diff line number Diff line change @@ -130,13 +130,6 @@ async function navigate(url, pushState = true) {
130130 panel . innerHTML = newPanel . innerHTML ;
131131 }
132132
133- // Replace tail/footer
134- const tail = container . querySelector ( '#tail-wrapper' ) ;
135- const newTail = newContainer . querySelector ( '#tail-wrapper' ) ;
136- if ( tail && newTail ) {
137- tail . innerHTML = newTail . innerHTML ;
138- }
139-
140133 // Update title
141134 document . title = doc . title ;
142135
You can’t perform that action at this time.
0 commit comments