Fix buttons with links.

master
Artem Sapegin 2014-01-16 11:20:18 +04:00
parent 236e65394c
commit 5671ca72b9
2 changed files with 4 additions and 3 deletions

View File

@ -312,9 +312,9 @@ var socialLikesButtons = {
background: url(http://surfingbird.ru/img/share-icon.png) no-repeat 2px 3px;
}
</style>
<ul class="social-likes">
<li class="surfingbird" data-counter="666">Surf</li>
</ul>
<div class="social-likes">
<div class="surfingbird" data-counter="666">Surf</li>
</div>
</div>

View File

@ -410,6 +410,7 @@ Button.prototype = {
});
this.cloneDataAttrs(widget, link);
widget.replaceWith(link);
this.widget = widget = link;
}
else {
widget.click($.proxy(this.click, this));