diff --git a/resources/skins.citizen.scripts/tables.js b/resources/skins.citizen.scripts/tables.js index 91661684..a20e54eb 100644 --- a/resources/skins.citizen.scripts/tables.js +++ b/resources/skins.citizen.scripts/tables.js @@ -38,6 +38,10 @@ function setupOverflowState( element ) { } }; + if ( element.parentNode === null ) { + return; + } + updateState(); // Update state on element scroll diff --git a/skin.json b/skin.json index 9e739a6c..6869bf34 100644 --- a/skin.json +++ b/skin.json @@ -627,6 +627,7 @@ "value": [ "citizen-table-nowrap", "mw-changeslist-line", + "mw-recentchanges-table", "infobox", "cargoDynamicTable", "dataTable"