Open main menu
Home
Random
Nearby
Log in
Settings
About Kancolle Wiki
Disclaimers
Kancolle Wiki
Search
Changes
← Older edit
Newer edit →
MediaWiki:Common.js
(view source)
Revision as of 18:36, 16 December 2022
No change in size
,
1 year ago
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,940
edits