The issue https://www.drupal.org/node/2118663
removed Drupal.checkWidthBreakpoint from core and replaced it with window.matchMedia.
This needs to be done in horizontal-tabs.js, too.

CommentFileSizeAuthor
#2 matchMedia-2580987-2.patch601 bytesMaouna

Comments

Maouna created an issue. See original summary.

Maouna’s picture

Assigned: Maouna » Unassigned
Status: Active » Needs review
StatusFileSize
new601 bytes

Here is the patch. I did it exactly as it was done in vertical-tabs.js in core.

nils.destoop’s picture

Status: Needs review » Fixed

Thx for the patch, i commited it to dev.

  • zuuperman committed bc4772b on 8.x-1.x authored by Maouna
    Issue #2580987 by Maouna: Drupal.checkWidthBreakpoint was removed from...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

Status: Closed (fixed) » Needs work

The last submitted patch, 2: matchMedia-2580987-2.patch, failed testing.

aspilicious’s picture

Status: Needs work » Closed (fixed)