Add a class to #watcher's close link
This commit is contained in:
parent
286047cc44
commit
8503fa97f2
@ -7094,6 +7094,7 @@
|
|||||||
props = _ref[id];
|
props = _ref[id];
|
||||||
x = $.el('a', {
|
x = $.el('a', {
|
||||||
textContent: '×',
|
textContent: '×',
|
||||||
|
className: 'close',
|
||||||
href: 'javascript:;'
|
href: 'javascript:;'
|
||||||
});
|
});
|
||||||
$.on(x, 'click', ThreadWatcher.cb.x);
|
$.on(x, 'click', ThreadWatcher.cb.x);
|
||||||
|
|||||||
@ -7115,6 +7115,7 @@
|
|||||||
props = _ref[id];
|
props = _ref[id];
|
||||||
x = $.el('a', {
|
x = $.el('a', {
|
||||||
textContent: '×',
|
textContent: '×',
|
||||||
|
className: 'close',
|
||||||
href: 'javascript:;'
|
href: 'javascript:;'
|
||||||
});
|
});
|
||||||
$.on(x, 'click', ThreadWatcher.cb.x);
|
$.on(x, 'click', ThreadWatcher.cb.x);
|
||||||
|
|||||||
@ -7094,6 +7094,7 @@
|
|||||||
props = _ref[id];
|
props = _ref[id];
|
||||||
x = $.el('a', {
|
x = $.el('a', {
|
||||||
textContent: '×',
|
textContent: '×',
|
||||||
|
className: 'close',
|
||||||
href: 'javascript:;'
|
href: 'javascript:;'
|
||||||
});
|
});
|
||||||
$.on(x, 'click', ThreadWatcher.cb.x);
|
$.on(x, 'click', ThreadWatcher.cb.x);
|
||||||
|
|||||||
@ -39,6 +39,7 @@ ThreadWatcher =
|
|||||||
for id, props of watched[board]
|
for id, props of watched[board]
|
||||||
x = $.el 'a',
|
x = $.el 'a',
|
||||||
textContent: '×'
|
textContent: '×'
|
||||||
|
className: 'close'
|
||||||
href: 'javascript:;'
|
href: 'javascript:;'
|
||||||
$.on x, 'click', ThreadWatcher.cb.x
|
$.on x, 'click', ThreadWatcher.cb.x
|
||||||
link = $.el 'a', props
|
link = $.el 'a', props
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user