• Welcome to the Kancolle Wiki!
  • If you have any questions regarding site content, account registration, etc., please visit the KanColle Wiki Discord

Changes

Jump to navigation Jump to search
m
no edit summary
Line 227: Line 227:  
Author: gaka
 
Author: gaka
 
*/
 
*/
$(() => {
+
$(function () {
   const supportTemplateMapImageNode = () => {
+
   function supportTemplateMapImageNode() {
 
     $('.map-node a').off('click')
 
     $('.map-node a').off('click')
 
     $('.map-node a').click(function (e) {
 
     $('.map-node a').click(function (e) {
 
       e.preventDefault()
 
       e.preventDefault()
       const $element = $($(this).attr('href'))
+
       var $element = $($(this).attr('href'))
       const $container = $element.parent()
+
       var $container = $element.parent()
 
       $container.scrollTop($container.scrollTop() - $container.offset().top + $element.offset().top)
 
       $container.scrollTop($container.scrollTop() - $container.offset().top + $element.offset().top)
 
     })
 
     })
cssedit, prechecked
1,656

edits

Navigation menu