Skip to content

Instantly share code, notes, and snippets.

@paulroth3d
Created January 3, 2017 19:00
Show Gist options
  • Save paulroth3d/44367d8313af69b57ab84e67cb32bce0 to your computer and use it in GitHub Desktop.
Save paulroth3d/44367d8313af69b57ab84e67cb32bce0 to your computer and use it in GitHub Desktop.
Custom Setting in JavaScript
<script type='text/javascript'>
var domain='{!$Setup.EnvironmentSettings__c.Domain__c}';
liveagent.details.preChatInit('https://' + domain+'/chat','detailCallBack');
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment