MediaWiki:Mobile.js: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
if (mw.config.get('skin') === 'minerva') { | if (mw.config.get('skin') === 'minerva') { | ||
document.querySelectorAll('.inflection-table-collapsed').forEach(el | var elements = document.querySelectorAll('.inflection-table-collapsed'); | ||
Array.prototype.forEach.call(elements, function(el) { | |||
el.classList.remove('inflection-table-collapsed'); | el.classList.remove('inflection-table-collapsed'); | ||
}); | }); | ||
} | } | ||