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

אין תקציר עריכה
אין תקציר עריכה
שורה 2: שורה 2:
obj.before( // Thanks to חיים 7
obj.before( // Thanks to חיים 7
$('<a>', {text: '♦', title: 'סמן עריכה כנקראה', href: '#nw'})
$('<a>', {text: '♦', title: 'סמן עריכה כנקראה', href: '#nw'})
.css({marginLeft: '0.3em', marginRight: '0.1em', color: '#990066'}).click(doremove) );
.css({marginLeft: '0.3em', marginRight: '0.1em', color: '#990066'}).click(function() {
}
var $this = $(this);
function doremove() {
$.getJSON($this.siblings('span.mw-title').find('a:first').attr('href'));
var $this = $(this);
$this.closest('.mw-changeslist-line-watched').removeClass('.mw-changeslist-line-watched')
$.getJSON($this.siblings('span.mw-title').find('a:first').attr('href'));
.addClass('mw-changeslist-line-not-watched');
$this.closest('.mw-changeslist-line-watched').removeClass('.mw-changeslist-line-watched')
unseen($this);
.addClass('mw-changeslist-line-not-watched');
$this.closest('.mw-changeslist-line-not-watched').hide();
unseen($this);
$this.remove();
$this.closest('.mw-changeslist-line-not-watched').hide();
}) );
$this.remove();
}
}
function unseen(obj) {
function unseen(obj) {