From 01446aad124291f88d5fab8f400321307dffebe7 Mon Sep 17 00:00:00 2001 From: Pashe Date: Mon, 20 Oct 2014 16:44:19 -0500 Subject: [PATCH] thread-watcher.js: fix background and border --- js/thread-watcher.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/js/thread-watcher.js b/js/thread-watcher.js index 52b8142e..625e95e0 100644 --- a/js/thread-watcher.js +++ b/js/thread-watcher.js @@ -40,6 +40,7 @@ watchlist.render = function(reset) { $('#watchlist').append(threads.join('')); } else { //If the watchlist has not yet been rendered, create it. + var menuStyle = getComputedStyle($('.boardlist')[0]); $('form[name="post"]').before( $('
'+ '
'+ @@ -47,10 +48,7 @@ watchlist.render = function(reset) { '[Clear Ghosts]'+ '
'+ threads.join('')+ - '
').css({ - background: $('.reply').css('background'), - borderColor : $('.reply').css('border-color') - })); + '').css("background-color", menuStyle.backgroundColor).css("border", menuStyle.borderBottomWidth+" "+menuStyle.borderBottomStyle+" "+menuStyle.borderBottomColor)); } return this; };