diff --git a/composer.json b/composer.json index c73d7a125..5305be1e3 100644 --- a/composer.json +++ b/composer.json @@ -64,12 +64,14 @@ "drupal/view_unpublished": "^1.0", "drupal/views_bulk_edit": "^2.7", "drupal/views_bulk_operations": "^4.1", + "drupal/stage_file_proxy": "^2", "league/uri": "^6.0", "php": "^8.1" }, "conflict": { "drupal/core": "<10.3", "drupal/core-composer-scaffold": "<10.3", + "drupal/stage_file_proxy": "<2.1.5", "drupal/ctools": "<3.11 || ^4.0.1", "drupal/gin_toolbar": ">1.0.0-rc6", "drupal/helfi_media_map": "*", diff --git a/modules/helfi_toc/assets/js/tableOfContents.js b/modules/helfi_toc/assets/js/tableOfContents.js index c9250c596..ab9c2625f 100644 --- a/modules/helfi_toc/assets/js/tableOfContents.js +++ b/modules/helfi_toc/assets/js/tableOfContents.js @@ -21,7 +21,8 @@ ':not(.breadcrumb__container *)' + ':not(#helfi-toc-table-of-contents *)' + ':not(.embedded-content-cookie-compliance *)' + - ':not(.react-and-share-cookie-compliance *)' + ':not(.react-and-share-cookie-compliance *)' + + ':not(.survey__container *)' }, // List of heading tags with exclusions. diff --git a/modules/helfi_toc/helfi_toc.libraries.yml b/modules/helfi_toc/helfi_toc.libraries.yml index 3c1c73fa5..63a5fb0a1 100644 --- a/modules/helfi_toc/helfi_toc.libraries.yml +++ b/modules/helfi_toc/helfi_toc.libraries.yml @@ -1,5 +1,5 @@ table_of_contents: - version: 1.0.3 + version: 1.0.4 js: assets/js/tableOfContents.js: {} dependencies: