mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-28 01:10:51 +01:00
thread-watcher.js: fix background and border
This commit is contained in:
parent
6f301505e3
commit
01446aad12
@ -40,6 +40,7 @@ watchlist.render = function(reset) {
|
|||||||
$('#watchlist').append(threads.join(''));
|
$('#watchlist').append(threads.join(''));
|
||||||
} else {
|
} else {
|
||||||
//If the watchlist has not yet been rendered, create it.
|
//If the watchlist has not yet been rendered, create it.
|
||||||
|
var menuStyle = getComputedStyle($('.boardlist')[0]);
|
||||||
$('form[name="post"]').before(
|
$('form[name="post"]').before(
|
||||||
$('<div id="watchlist">'+
|
$('<div id="watchlist">'+
|
||||||
'<div class="watchlist-controls">'+
|
'<div class="watchlist-controls">'+
|
||||||
@ -47,10 +48,7 @@ watchlist.render = function(reset) {
|
|||||||
'<span><a id="clearGhosts">[Clear Ghosts]</a></span>'+
|
'<span><a id="clearGhosts">[Clear Ghosts]</a></span>'+
|
||||||
'</div>'+
|
'</div>'+
|
||||||
threads.join('')+
|
threads.join('')+
|
||||||
'</div>').css({
|
'</div>').css("background-color", menuStyle.backgroundColor).css("border", menuStyle.borderBottomWidth+" "+menuStyle.borderBottomStyle+" "+menuStyle.borderBottomColor));
|
||||||
background: $('.reply').css('background'),
|
|
||||||
borderColor : $('.reply').css('border-color')
|
|
||||||
}));
|
|
||||||
}
|
}
|
||||||
return this;
|
return this;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user