From d20cda3596f52ae8a07aa7ed28f042d8b33b6e8d Mon Sep 17 00:00:00 2001 From: Michael Foster Date: Mon, 16 Sep 2013 12:14:34 +1000 Subject: [PATCH] fix for select shit in post form i think --- js/quick-reply.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/js/quick-reply.js b/js/quick-reply.js index 0e5954f6..04eea97e 100644 --- a/js/quick-reply.js +++ b/js/quick-reply.js @@ -68,7 +68,7 @@ var do_css = function() { float: right;\ padding: 0 5px;\ }\ - #quick-reply input[type="text"] {\ + #quick-reply input[type="text"], #quick-reply select {\ width: 100%;\ padding: 2px;\ font-size: 10pt;\ @@ -248,6 +248,10 @@ var show_quick_reply = function(){ } }); } + + $td.contents().filter(function() { + return this.nodeType == 3; // Node.TEXT_NODE + }).remove(); } });