מדיה ויקי: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;
   return ($(this).text() == name);// && (thediff < diff);
   return ($(this).text() == name);// && (thediff < diff);
}).addClass('yellowedit');
}).before($('<span>', {text: m})).addClass('yellowedit');
$this.remove();
$this.remove();
});
});