diff --git a/dist/js/disable-genesys-button.min.js b/dist/js/disable-genesys-button.min.js index 40d46e4a1..2363a9025 100644 --- a/dist/js/disable-genesys-button.min.js +++ b/dist/js/disable-genesys-button.min.js @@ -1 +1 @@ -!function(e,Drupal,drupalSettings){Drupal.behaviors.disable_genesys_button={attach(t,n){"undefined"==typeof _genesys&&e("#openChat").replaceWith(`
${Drupal.t("Chat is not in use.")}
`)}}}(jQuery,Drupal,drupalSettings); \ No newline at end of file +!function(e,Drupal,drupalSettings){Drupal.behaviors.disable_genesys_button={attach(s,t){"undefined"==typeof _genesys&&e("#openChat").replaceWith(`
${Drupal.t("Chat is not in use.")}
`)}}}(jQuery,Drupal,drupalSettings); \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index f75e7de9a..de88ef324 100644 --- a/package-lock.json +++ b/package-lock.json @@ -7429,9 +7429,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001521", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001521.tgz", - "integrity": "sha512-fnx1grfpEOvDGH+V17eccmNjucGUnCbP6KL+l5KqBIerp26WK/+RQ7CIDE37KGJjaPyqWXXlFUyKiWmvdNNKmQ==", + "version": "1.0.30001522", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001522.tgz", + "integrity": "sha512-TKiyTVZxJGhsTszLuzb+6vUZSjVOAhClszBr2Ta2k9IwtNBT/4dzmL6aywt0HCgEZlmwJzXJd8yNiob6HgwTRg==", "funding": [ { "type": "opencollective", @@ -27513,9 +27513,9 @@ } }, "caniuse-lite": { - "version": "1.0.30001521", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001521.tgz", - "integrity": "sha512-fnx1grfpEOvDGH+V17eccmNjucGUnCbP6KL+l5KqBIerp26WK/+RQ7CIDE37KGJjaPyqWXXlFUyKiWmvdNNKmQ==" + "version": "1.0.30001522", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001522.tgz", + "integrity": "sha512-TKiyTVZxJGhsTszLuzb+6vUZSjVOAhClszBr2Ta2k9IwtNBT/4dzmL6aywt0HCgEZlmwJzXJd8yNiob6HgwTRg==" }, "chalk": { "version": "2.4.2", diff --git a/src/js/disable-genesys-button.js b/src/js/disable-genesys-button.js index 89f3f20f7..4c57c416f 100644 --- a/src/js/disable-genesys-button.js +++ b/src/js/disable-genesys-button.js @@ -5,7 +5,7 @@ attach(context, settings) { // Don't show the button if the chat element does not exist. if (typeof _genesys === 'undefined') { - $('#openChat').replaceWith(`
${Drupal.t('Chat is not in use.')}
`); + $('#openChat').replaceWith(`
${Drupal.t('Chat is not in use.')}
`); } }, };