Skip to content

Commit

Permalink
Merge pull request tmort#49 from clexit/patch-1
Browse files Browse the repository at this point in the history
Fixed VK Like widget initialisation for IE8
  • Loading branch information
dbushell committed Dec 4, 2012
2 parents 1f83693 + fc3c771 commit b6fcee0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extensions/socialite.vkontakte.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
settings = Socialite.settings.vkontakte;
el.className = 'vk-like';
// Vkontakte needs explicit element id
el.id = 'vkontakte-like-' + (new Date()).getTime();
el.id = 'vkontakte-like-' + (new Date()).getTime() + Math.random().toString().replace('.', '-');
Socialite.copyDataAttributes(instance.el, el);
like = extendConfWithAttributes(instance.el, ['type'], settings.like);
instance.el.appendChild(el);
Expand Down

0 comments on commit b6fcee0

Please sign in to comment.