Skip to content
This repository has been archived by the owner on Dec 26, 2020. It is now read-only.

replace (thank) and [patrol] links with buttons #29

Open
fbstj opened this issue Jun 29, 2018 · 0 comments
Open

replace (thank) and [patrol] links with buttons #29

fbstj opened this issue Jun 29, 2018 · 0 comments

Comments

@fbstj
Copy link
Owner

fbstj commented Jun 29, 2018

hide the link versions and replace them with button variants which are shown

<span class="patrollink">[<a href="?action=markpatrolled&rcid=$id">mark patrolled</a>]</span>

=>

<button class="patrollink" onclick="fetch('?action=markpatrolled&rcid='+this.rcid)" rcid="$id">patrol</button>

.mw-thanks-thank-link

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant