From de023e3b49071dacdd01a7c65514e10744fa8101 Mon Sep 17 00:00:00 2001 From: jdlrobson Date: Tue, 5 Feb 2019 14:00:43 -0800 Subject: [PATCH] Not all amboxes are tables Per https://www.mediawiki.org/wiki/Topic:Usyourmpyvolsjrw we should not restrict amboxes to table elements. This is not necessary and breaks certain projects. Change-Id: Ice6d05506a9ef1450299e9804aae59493033c136 --- resources/skins.minerva.scripts/pageIssues.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/skins.minerva.scripts/pageIssues.js b/resources/skins.minerva.scripts/pageIssues.js index 221a6a3a6..92c77aab0 100644 --- a/resources/skins.minerva.scripts/pageIssues.js +++ b/resources/skins.minerva.scripts/pageIssues.js @@ -121,7 +121,7 @@ var $metadata, issueUrl = section === KEYWORD_ALL_SECTIONS ? '#/issues/' + KEYWORD_ALL_SECTIONS : '#/issues/' + section, - selector = 'table.ambox, table.tmbox, table.cmbox, table.fmbox', + selector = [ '.ambox', '.tmbox', '.cmbox', '.fmbox' ].join( ',' ), issueSummaries = []; if ( section === KEYWORD_ALL_SECTIONS ) {