Created
July 17, 2014 09:20
-
-
Save panych/a0d225a01ddb5f68814b to your computer and use it in GitHub Desktop.
JivoSite open by external link
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Widget documentation http://www.jivosite.ru/javascript-api | |
function jivo_onLoadCallback() { | |
$('#online-consultant').addClass('enabled').click(function() { | |
jivo_api.open(); | |
}); | |
} | |
// scss | |
#online-consultant { | |
display: none; | |
&.enabled { | |
display: inline; | |
} | |
} | |
#jivo_chat_widget{ | |
display: none; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment