clickdesc fix

This commit is contained in:
Jerry
2023-02-08 09:15:29 +01:00
parent 1923922e84
commit 7ad68998c2

View File

@@ -28,23 +28,32 @@ $scripts = [];
</script>
<!-- ClickDesk Live Chat Service for websites -->
<a href="#" id="livilyChatLink" class="livilyChatButton ClickdeskChatLink" onclick="return false;"></a>
<script type='text/javascript'>
var _glc =_glc || []; _glc.push('all_ag9zfmNsaWNrZGVza2NoYXRyEgsSBXVzZXJzGICAoN3L5aYLDA');
var glcpath = (('https:' == document.location.protocol) ? 'https://my.clickdesk.com/clickdesk-ui/browser/' :
'http://my.clickdesk.com/clickdesk-ui/browser/');
var glcp = (('https:' == document.location.protocol) ? 'https://' : 'http://');
var glcspt = document.createElement('script'); glcspt.type = 'text/javascript';
glcspt.async = true; glcspt.src = glcpath + 'livechat-cloud-new.js';
var s = document.getElementsByTagName('script')[0];s.parentNode.insertBefore(glcspt, s);
</script>
<style>
.ClickdeskChatLink {
position: fixed;
right: 0;
bottom: 0;
z-index: 2147483638 !important;
}
.ClickdeskChatLink img {
width: 70px;
height: 70px;
}
.clickdesk_bubble {
display: none !important;
}
</style>
<script src="<?= get_lawcarta_url()?>/assets/front-settings<?php if(isset($_GET['law']) && $_GET['law'] == 1 ):?>?law=1<?php endif;?>"></script>
<?php
$baseTemplate = basename( get_page_template() );