Skip to content

Commit

Permalink
Merge pull request #794 from City-of-Helsinki/UHF-10466
Browse files Browse the repository at this point in the history
UHF-10466: Prevent suunte js aggregation
  • Loading branch information
rpnykanen authored Aug 27, 2024
2 parents ad390d7 + 6b57863 commit c609a3f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion helfi_platform_config.libraries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ clear_localstorage:
- core/drupal

genesys_suunte:
version: 1.0.1
version: 1.0.2
header: true
js:
'https://apps.mypurecloud.ie/widgets/9.0/cxbus.min.js' : {
Expand All @@ -24,6 +24,7 @@ genesys_suunte:
}
assets/js/genesys_suunte.js: {
attributes: {
preprocess: false,
onload: "javascript:var checkExist = setInterval(function() {if(typeof CXBus != 'undefined') {clearInterval(checkExist);Drupal.behaviors.genesys_suunte.attach();console.log('suunte attaching');}}, 100);"
}
}
Expand Down

0 comments on commit c609a3f

Please sign in to comment.