Merge pull request #2983 from alphagov/add-js-tests-for-fullscreen-table

Add js tests for fullscreen table
This commit is contained in:
Chris Hill-Scott
2019-06-17 10:00:53 +01:00
committed by GitHub
10 changed files with 394 additions and 34 deletions

View File

@@ -24,10 +24,10 @@
.on('scroll', this.maintainHeight);
if (
window.GOVUK.stopScrollingAtFooter &&
window.GOVUK.stopScrollingAtFooter.updateFooterTop
window.GOVUK.stickAtBottomWhenScrolling &&
window.GOVUK.stickAtBottomWhenScrolling.recalculate
) {
window.GOVUK.stopScrollingAtFooter.updateFooterTop();
window.GOVUK.stickAtBottomWhenScrolling.recalculate();
}
this.maintainWidth();