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

אין תקציר עריכה
אין תקציר עריכה
שורה 20: שורה 20:
$(this).before($('<span>', {text: diff}));
$(this).before($('<span>', {text: diff}));
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: "aaa"}));
$(this).before($('<span>', {text: "-" + thediff}));
   return $(this).text() == name && thediff < diff;
   return $(this).text() == name && thediff < diff;
}).addClass('yellowedit');
}).addClass('yellowedit');