SAAS-948 - css tweaks

This commit is contained in:
Duncan Sommerville 2015-08-14 13:29:26 -04:00
parent 12c4e4a374
commit fb1f22b913
7 changed files with 118 additions and 98 deletions

View file

@ -20,7 +20,7 @@ $(document).ready(function() {
var lcLoadListener = setInterval(function() {
var ifr = document.getElementById('livechat-compact-container');
if (ifr !== undefined) {
if (ifr) {
LC_API.on_chat_state_changed = function(data) {
console.log('Chat state changed to: ' + data.state);
if (data.state == 'offline') {