Fix yandex counter

This commit is contained in:
Anton Vakhrushev 2017-12-16 22:28:47 +03:00
parent af5106e7bb
commit c4f11d1e69

View File

@ -1,5 +1,5 @@
<!-- Yandex.Metrika counter -->
<script type="text/javascript">
<script type="text/javascript" >
(function (d, w, c) {
(w[c] = w[c] || []).push(function() {
try {
@ -18,7 +18,7 @@
f = function () { n.parentNode.insertBefore(s, n); };
s.type = "text/javascript";
s.async = true;
s.src = "https://mc.yandex.ru/metrika/watch.js";
s.src = "https://cdn.jsdelivr.net/npm/yandex-metrica-watch/watch.js";
if (w.opera == "[object Opera]") {
d.addEventListener("DOMContentLoaded", f, false);