מדיה ויקי:Gadget-WLM-draft.js: הבדלים בין גרסאות בדף
אין תקציר עריכה |
אין תקציר עריכה |
||
| שורה 17: | שורה 17: | ||
.addClass('mw-changeslist-line-not-watched').removeClass('blueedit').addClass('yellowedit'); | .addClass('mw-changeslist-line-not-watched').removeClass('blueedit').addClass('yellowedit'); | ||
var name = $this.closest('table').find('.mw-changeslist-title').text(); | var name = $this.closest('table').find('.mw-changeslist-title').text(); | ||
$this.closest('body').find('.mw-changeslist-line-watched').find('.mw-changeslist-title').filter(function(){ | /*$this.closest('body').find('.mw-changeslist-line-watched').find('.mw-changeslist-title').filter(function(){ | ||
$(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: "-" + thediff})); | //$(this).before($('<span>', {text: "-" + thediff})); | ||
return ($(this).text() == name);// && (thediff < diff); | return ($(this).text() == name);// && (thediff < diff); | ||
}).addClass('yellowedit'); | }).addClass('yellowedit');*/ | ||
$this.remove(); | $this.remove(); | ||
}); | }); | ||