mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-28 08:10:45 +00:00
fix(Tables): Check if element.parentNode
is null (#681)
Happened on the recent changes table. While the added line in TableNowrapClasses also fixes this, I've left it in as a safeguard.
This commit is contained in:
parent
1cd993c664
commit
a1139e7797
|
@ -38,6 +38,10 @@ function setupOverflowState( element ) {
|
|||
}
|
||||
};
|
||||
|
||||
if ( element.parentNode === null ) {
|
||||
return;
|
||||
}
|
||||
|
||||
updateState();
|
||||
|
||||
// Update state on element scroll
|
||||
|
|
Loading…
Reference in a new issue