• 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 252: Line 252:  
if ($tables.length == 0) return;
 
if ($tables.length == 0) return;
   −
$tables.each(function(i) {
+
$tables.each(function(n) {
 
  if ($(this).hasClass('header-fixed-done')) return;
 
  if ($(this).hasClass('header-fixed-done')) return;
 
  if ($(this).hasClass('mw-collapsed')) {
 
  if ($(this).hasClass('mw-collapsed')) {
  console.debug('header-fixed: collapsed: ' + i)
+
  console.debug('header-fixed: collapsed: ' + n)
 
  $(this).find('.mw-collapsible-text').click(function() {
 
  $(this).find('.mw-collapsible-text').click(function() {
  console.debug('header-fixed: click: ' + i)
+
  console.debug('header-fixed: click: ' + n)
 
  setTimeout(function() { initializeStickyHeader(); }, 1000);
 
  setTimeout(function() { initializeStickyHeader(); }, 1000);
 
  })
 
  })
Line 305: Line 305:  
    */
 
    */
 
    $(this).addClass('header-fixed-done');
 
    $(this).addClass('header-fixed-done');
    console.debug('header-fixed: fixed: ' + i)
+
    console.debug('header-fixed: fixed: ' + n)
 
});
 
});
 
}
 
}
cssedit, gkautomate
6,926

edits

Navigation menu