diff --git a/README.md b/README.md index 5ccf61e..adbe334 100644 --- a/README.md +++ b/README.md @@ -42,5 +42,5 @@ This is completely unofficial and is not related to Zendesk in any way. This project is licensed under the [MIT License](LICENSE.md). -##About Tailor Brands +## About Tailor Brands [Check us out!](https://www.tailorbrands.com) diff --git a/index.js b/index.js index 6623246..86036f1 100644 --- a/index.js +++ b/index.js @@ -4,7 +4,7 @@ module.exports = { name: require('./package').name, contentFor: function (type, config) { - if (type === 'head' && config.zendesk && config.zendesk.key) { + if (type === 'head' && config.zendesk && config.zendesk.enabled && config.zendesk.key) { const srcPath = "https://static.zdassets.com/ekr/snippet.js?key=" + config.zendesk.key; return ``; } diff --git a/package.json b/package.json index bff88a7..543eac6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ember-cli-zendesk", - "version": "1.0.3", + "version": "1.0.4", "description": "An Ember CLI Addon to add support for Zendesk", "keywords": [ "ember-addon",