I hereby claim:
- I am aawilson on github.
- I am amw (https://keybase.io/amw) on keybase.
- I have a public key ASDeV_MiuSdo_R08WMTS3VdrUlwYyZ825IgrQqU30HvZMQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
var olarkTimeout = null; | |
olark('api.chat.onMessageToOperator', function(event) { | |
olarkTimeout = setTimeout(function(){ | |
olark('api.chat.sendMessageToVisitor', {body: "It looks like the operator might be a little busy, hold on just a bit and we'll be right back with you!"}); | |
}, 30 * 1000); // 30 seconds | |
}); | |
olark('api.chat.onMessageToVisitor', function(event) { | |
if(olarkTimeout !== null){ |