User:MusikAnimal/customWatchlists.js: Difference between revisions

Content deleted Content added
fix
test output
Line 5:
var addCwLinkListener = function() {
$(".cw-add").clickclickshowCustomWatchlistsForm(function() {
if($("#cw-overlay")[0]) return false;
var pageName = new mw.Title($(this).siblings(".mw-title").text());
Line 107:
var showCustomWatchlistsForm = function(appendHtml) {
console.log("testing");
var html = "<form id='custom_watchlist_form'><fieldset>" +
"<legend>Custom watchlists (<a href='//en.wikipedia.org/w/index.php?title=User:MusikAnimal/customWatchlists'>documentation</a>)</legend>" + appendHtml;