User:Rusty Cat/Scripts/avTablet.js

// A mod for AV with designed for use on keyboardless devices. //

$(document).ready( => {	antiVandal.start = ( => { antiVandal.start; let q = document.createElement('div'); q.class = 'diffActionItem'; q.innerHTML = 'vandalism'; $('.diffActionContainer').prependChild(q); q.addEventListener('onclick', => {			antiVandal.revert(antiVandal.queue.currentEdit, "auto");			antiVandal.queue.nextItem;		}); }) }); //