mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-04-14 14:04:38 -04:00
Don't count on Olark being there.
This commit is contained in:
parent
958ce4dfcf
commit
b696a3f188
1 changed files with 1 additions and 0 deletions
|
@ -26,6 +26,7 @@ module.exports = class Tracker
|
|||
olark 'api.chat.updateVisitorNickname', snippet: me.displayName()
|
||||
|
||||
updatePlayState: (level, session) ->
|
||||
return unless olark?
|
||||
link = "codecombat.com/play/level/#{level.get('slug') or level.id}?session=#{session.id}"
|
||||
snippet = [
|
||||
"#{link}"
|
||||
|
|
Loading…
Add table
Reference in a new issue