Created
July 24, 2018 14:10
-
-
Save buildAI/bd3fd3e5e233d1520e764b6bafbb09cf to your computer and use it in GitHub Desktop.
This file contains hidden or 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
<div id='metype-container' class='iframe-container' | |
data-metype-account-id='41' | |
data-metype-host='https://staging.metype.com/' | |
data-metype-primary-color='#0000ff' | |
data-metype-bg-color='#ffffff' | |
data-metype-font-color='#4a4a4a' | |
data-metype-comment-widget-id="comment-widget-2"></div> | |
<script type='text/javascript'> | |
var metypeContainer = document.getElementById("metype-container"), | |
page_url = metypeContainer.getAttribute("data-metype-page-url"); | |
metypeContainer.setAttribute('data-metype-page-url', page_url || window.location.href); | |
metypeContainer.setAttribute('data-metype-window-height', window.innerHeight); | |
metypeContainer.setAttribute('data-metype-screen-width', window.screen.width); | |
talktype(function() { | |
talktype.commentWidgetIframe(metypeContainer); | |
}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment