Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/npm-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4

- uses: actions/setup-node@v2
- uses: actions/setup-node@v4
with:
node-version: '14'
node-version: '18'
cache: 'npm'
cache-dependency-path: '**/package-lock.json'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/phpcs-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:

- name: Cache Composer packages
id: composer-cache
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: vendor
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v14
v18.20.4
2 changes: 2 additions & 0 deletions CHANGELOG.MD
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]

- Update Node, webpack & dependency versions

## [1.72.0] - 2026-04-12

- TMS-1260: Add missing alt-text for enlargened images in image-block
Expand Down
2 changes: 1 addition & 1 deletion assets/scripts/toggle.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default class Toggle {
const toggleTrigger = $( event.currentTarget );
const toggleTarget = $( '#' + toggleTrigger.attr( 'aria-controls' ) );
const ariaExpandedState = toggleTrigger.attr( 'aria-expanded' ) === 'false';
const duration = typeof toggleTrigger.data( 'duration' ) !== undefined ? toggleTrigger.data( 'duration' ) : 400;
const duration = typeof toggleTrigger.data( 'duration' ) !== 'undefined' ? toggleTrigger.data( 'duration' ) : 400;

if ( toggleTarget.hasClass( 'is-hidden' ) ) {
toggleTarget.css( 'display', 'none' );
Expand Down
Loading
Loading