מדיה ויקי:Gadget-WLM-draft.js: הבדלים בין גרסאות בדף

אין תקציר עריכה
אין תקציר עריכה
שורה 21: שורה 21:
//var thediff = /diff=([0-9]+)/.exec($(this).parent().find('a[href*="diff"]').prop('href'))[1];
//var thediff = /diff=([0-9]+)/.exec($(this).parent().find('a[href*="diff"]').prop('href'))[1];
//$(this).before($('<span>', {text: "-" + thediff}));
//$(this).before($('<span>', {text: "-" + thediff}));
var m = 5;
//var thediff = /diff=([0-9]+)/.exec($(this).parent().find('a[href*="diff"]').prop('href'))[1];
var m = $(this).parent();
   return ($(this).text() == name);// && (thediff < diff);
   return ($(this).text() == name);// && (thediff < diff);
}).closest('.mw-changeslist-line-watched').removeClass('blueedit').addClass('yellowedit');
}).closest('.mw-changeslist-line-watched').removeClass('blueedit').addClass('yellowedit');