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
This commit is contained in:
jdlrobson 2019-02-05 14:00:43 -08:00 committed by Jdlrobson
parent 0dfdbadb4b
commit de023e3b49

View file

@ -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 ) {