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

אין תקציר עריכה
אין תקציר עריכה
שורה 1: שורה 1:
seenicon = {text: '📖', title: 'סמן עריכה כנקראה', href: '#nw'};
seenicon = {text: '📖', title: 'סמן עריכה כנקראה', href: '#nw'};
unseenicon = {text: '▣', title: 'סמן עריכה כלא נקראה', href: '#nw'};
function seen(obj) {
function seen(obj) {
obj.before( // Thanks to חיים 7 ◆
obj.before( // Thanks to חיים 7 ◆
שורה 23: שורה 24:
function unseen(obj) {
function unseen(obj) {
$(obj).before(
$(obj).before(
$('<a>', {text: '▣', title: 'סמן עריכה כלא נקראה', href: '#nw'})
$('<a>', unseenicon)
.css({marginLeft: '0.3em', marginRight: '0.1em', color: 'green'}).click(function() {
.css({marginLeft: '0.3em', marginRight: '0.1em', color: 'green'}).click(function() {
var $this = $(this);
var $this = $(this);