User:MusikAnimal/customWatchlists.js: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 53:
if(wgRelevantPageName === "Special:Watchlist") {
getCustomWatchlists().then(function(data) {
debugger;
var customWatchlists = JSON.parse(data.split("\n")[0]);
var customWatchlistNames = Object.keys(customWatchlists);
Line 82 ⟶ 81:
showCustomWatchlist(customWatchlists,customWatchlistNames[parseInt($("#custom_watchlist_selector").val())],$("#custom_watchlist_limit").val(),$("#custom_watchlist_all_rev").is(":checked"));
});
}, function() {
debugger;
});
} else if(wgNamespaceNumber >= 0) {
Line 93 ⟶ 94:
if($("#cw-overlay")[0]) return false;
getCustomWatchlists().then(function(data) {
debugger;
var customWatchlists = JSON.parse(data.split("\n")[0]),
customWatchlistNames = Object.keys(customWatchlists),