Fix logic on basejump/ziplines

This commit is contained in:
Berkeley Martinez
2015-10-16 16:20:34 -07:00
parent 12eeef2f41
commit 1b75d041c1

View File

@ -100,11 +100,11 @@ block content
document.addEventListener('gitter-sidecar-ready', function(e) { document.addEventListener('gitter-sidecar-ready', function(e) {
if (window.main) { if (window.main) {
window.main.chat.createHelpChat( window.main.chat.createHelpChat(
!{JSON.stringify(challengeType)} === 3 ? !{JSON.stringify(challengeType)} !== 3 ?
'freecodecamp/helpZiplines' : 'freecodecamp/helpZiplines' :
'freecodecamp/helpBasejumps', 'freecodecamp/helpBasejumps',
'#challenge-help-btn', '#challenge-help-btn',
!{JSON.stringify(challengeType)} === 3 ? !{JSON.stringify(challengeType)} !== 3 ?
'Zipline Help' : 'Zipline Help' :
'Basejump Help' 'Basejump Help'
); );