Updating the clicky marker
This commit is contained in:
parent
f02fd0934c
commit
7fa801966e
|
|
@ -37,9 +37,10 @@ tarteaucitron.services.clicky = {
|
||||||
if (tarteaucitron.user.clickyId === undefined) {
|
if (tarteaucitron.user.clickyId === undefined) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
var clicky_site_ids = clicky_site_ids || [];
|
|
||||||
clicky_site_ids.push(tarteaucitron.user.clickyId);
|
|
||||||
tarteaucitron.addScript('//static.getclicky.com/js', '', function () {
|
tarteaucitron.addScript('//static.getclicky.com/js', '', function () {
|
||||||
|
if (typeof clicky.init === 'function') {
|
||||||
|
clicky.init(tarteaucitron.user.clickyId);
|
||||||
|
}
|
||||||
if (typeof tarteaucitron.user.clickyMore === 'function') {
|
if (typeof tarteaucitron.user.clickyMore === 'function') {
|
||||||
tarteaucitron.user.clickyMore();
|
tarteaucitron.user.clickyMore();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue