|
|
@ -38,10 +38,10 @@ |
|
|
|
const renderedButton = VK.Share.button(gen) |
|
|
|
const renderedButton = VK.Share.button(gen) |
|
|
|
$('#vkShare').html(renderedButton) |
|
|
|
$('#vkShare').html(renderedButton) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
const $linkInput = $('[name="link"]'); |
|
|
|
$('[name="link"]').change((e) => { |
|
|
|
$linkInput |
|
|
|
appendShare($(e.target)) |
|
|
|
.on('input', (e => appendShare($(e.target)))) |
|
|
|
}) |
|
|
|
.on('paste', (e => appendShare($(e.target)))) |
|
|
|
}) |
|
|
|
}) |
|
|
|
</script> |
|
|
|
</script> |
|
|
|
{% endblock %} |
|
|
|
{% endblock %} |