}
function auto_anchors() {
- $('article div.textcell h1, article div.textcell h2, article div.textcell h3, article div.textcell h4').each(function(idx, elem) {
+ $('article h2, article h3, article h4').each(function(idx, elem) {
var $elem = $(elem);
if ($elem.attr('id')) return;
if ($elem.find('.wiki-anchor').length) return;