Skip to content

Commit

Permalink
fix VK openapi conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
iohansson committed Nov 27, 2017
1 parent 8cf507a commit 4fb003c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/Vkontakte.vue
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@
document.body.appendChild(script)
// Set share count to `counter_vkontakte` v-model
window.VK = { Share: {} }
window.VK = Object.assign({}, { Share: {} }, window.VK);
window.VK.Share.count = (index, count) => {
if (count) {
this.counter_vkontakte = (count >= 1000)
Expand Down

0 comments on commit 4fb003c

Please sign in to comment.