diff --git a/cms/templates/articles/new.html b/cms/templates/articles/new.html index 161c1b7..60963ae 100644 --- a/cms/templates/articles/new.html +++ b/cms/templates/articles/new.html @@ -35,7 +35,11 @@ const gen = { url: articleLink } - document.getElementById('vkShare').innerHTML = VK.Share.button(gen) + const buttonType = { + type: "link", + text: 'Посмотреть' + } + document.getElementById('vkShare').innerHTML = VK.Share.button(gen, buttonType) } const linkInput = document.querySelector('[name="link"]'); linkInput.addEventListener('input', appendShare)