Skip to content
Snippets Groups Projects

Issue #3521884: tableresponsive.js causes huge page load time for extensions page

Open Issue #3521884: tableresponsive.js causes huge page load time for extensions page
2 unresolved threads
Open Stephen Mustgrave requested to merge issue/drupal-3521884:3521884-11.x-dev into 11.x
2 unresolved threads

Signed-off-by: Nigel Cunningham nigel@nigelcunningham.com.au

Closes #3521884

Merge request reports

Members who can merge are allowed to add commits.
Code Quality is loading
Test summary results are being parsed
Metrics reports are loading
Ready to merge by members who can write to the target branch.
  • The source branch is 185 commits behind the target branch.
  • 1 commit will be added to 11.x.
  • Source branch will not be deleted.

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
4 4 */
5 5
6 6 (function ($, Drupal, window) {
7
8 let disableVisibilityReevaluation;
  • Stephen Mustgrave left review comments

    left review comments

  • added 1 commit

    Compare with previous version

  • added 1 commit

    • 3b79ec71 - Add comment describing purpose to disableVisibilityReevaluation var.

    Compare with previous version

  • Nigel Cunningham added 8 commits

    added 8 commits

    • 3b79ec71...1b74d431 - 5 commits from branch project:11.x
    • 16aa55f5 - Issue #3521884: tableresponsive.js causes huge page load time for extensions page
    • 1dc713c8 - Apply lint fixes.
    • c2607d77 - Add comment describing purpose to disableVisibilityReevaluation var.

    Compare with previous version

  • 69 TableResponsive.tables.push(new TableResponsive(table));
    70 },
    71 const tables = once(
    72 'tableresponsive',
    73 'table.responsive-enabled',
    74 context,
    71 75 );
    76 disableVisibilityReevaluation = true;
    77 let count = 0;
    78 tables.forEach((table) => {
    79 count++;
    80 if (count === tables.length) {
    81 disableVisibilityReevaluation = false;
    82 }
    83 TableResponsive.tables.push(new TableResponsive(table));
    84 });
  • Théodore Biadala left review comments

    left review comments

  • added 1 commit

    • 8c445f3f - trigger resize from the behavior, not the constructor

    Compare with previous version

  • Please register or sign in to reply
    Loading