<div class="col-xs-12 col-md-6 col-md{if !(MODULE_LIKE && ARTICLE_ENABLE_LIKE && $__wcf->session->getPermission('user.like.canViewLike'))} col-md-offset-6{/if}">
<ul class="articleLikeButtons buttonGroup buttonList smallButtons">
<li>
- <a href="{$articleContent->getLink()}" class="button shareButton jsOnly" data-link-title="{$articleContent->getTitle()}">
+ <a href="{$articleContent->getLink()}" class="button wsShareButton jsOnly" data-link-title="{$articleContent->getTitle()}">
<span class="icon icon16 fa-share-alt"></span> <span>{lang}wcf.message.share{/lang}</span>
</a>
</li>
{capture assign='contentHeaderNavigation'}
{if $page->showShareButtons()}
<li>
- <a href="{$content->getLink()}" class="button shareButton jsOnly" data-link-title="{$content->getTitle()}">
+ <a href="{$content->getLink()}" class="button wsShareButton jsOnly" data-link-title="{$content->getTitle()}">
<span class="icon icon16 fa-share-alt"></span> <span>{lang}wcf.message.share{/lang}</span>
</a>
</li>
}
function registerButtons(): void {
- document.querySelectorAll("a.shareButton").forEach((shareButton: HTMLElement) => {
+ document.querySelectorAll("a.wsShareButton").forEach((shareButton: HTMLElement) => {
if (!shareButtons.has(shareButton)) {
shareButton.addEventListener("click", (ev) => openDialog(ev));
}
}
function registerButtons() {
- document.querySelectorAll("a.shareButton").forEach((shareButton) => {
+ document.querySelectorAll("a.wsShareButton").forEach((shareButton) => {
if (!shareButtons.has(shareButton)) {
shareButton.addEventListener("click", (ev) => openDialog(ev));
shareButtons.add(shareButton);