Skip to content
This repository was archived by the owner on Dec 11, 2019. It is now read-only.

Allow to set options.language_override (#25) #28

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
1 change: 1 addition & 0 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ Intercom.prototype.bootOrUpdate = function(options, integrationSettings) {
var method = this.booted === true ? 'update' : 'boot';
var activator = this.options.activator;
options.app_id = this.options.appId;
options.language_override = integrationSettings.language_override;

// Intercom, will force the widget to appear if the selector is
// #IntercomDefaultWidget so no need to check inbox, just need to check that
Expand Down