mirror of
https://github.com/seigler/dash-website
synced 2025-07-27 07:16:10 +00:00
kickstarts chat window to fix visibility failure on load, enables keep_files for french path (speeds dev watcher rebuild cycle)
This commit is contained in:
parent
2c308564d6
commit
ea2c313ace
2 changed files with 13 additions and 1 deletions
|
@ -55,6 +55,18 @@ var lc = document.createElement('script'); lc.type = 'text/javascript'; lc.async
|
|||
lc.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'cdn.livechatinc.com/tracking.js';
|
||||
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(lc, s);
|
||||
})();
|
||||
|
||||
//*********begin kickstart
|
||||
//for some reason the chat window doesn't play nicely immediately on load,
|
||||
//and is invisible... so this little jimmy kick starts it. ¯\_(ツ)_/¯ CCW_20170322_0356MST
|
||||
var LC_API = LC_API || {};
|
||||
LC_API.on_after_load = function() {
|
||||
window.setTimeout(function () {
|
||||
LC_API.minimize_chat_window();
|
||||
}, 1500);
|
||||
};
|
||||
//*********end kickstart
|
||||
|
||||
</script>
|
||||
<!-- End of LiveChat code -->
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue