5,322
回編集
(https://gerrit.wikimedia.org/r/#/c/171732/12/includes/Resources.php) |
(よくわからん…) |
||
49行目: | 49行目: | ||
var key = 'collapse-' + RegExp.$1; | var key = 'collapse-' + RegExp.$1; | ||
collapse = $.cookie(key) || 'autocollapse'; | collapse = $.cookie(key) || 'autocollapse'; | ||
$table.$toggle.on | $table.$toggle.on('click', | ||
$.proxy(toggleCollapsible, $table, key)); | $.proxy(toggleCollapsible, $table, key)); | ||
} else { | } else { | ||
$table.$toggle.on | $table.$toggle.on('click', | ||
$.proxy(toggleCollapsible, $table, null)); | $.proxy(toggleCollapsible, $table, null)); | ||
} | } |