diff --git a/js/hide-threads.js b/js/hide-threads.js
index 14893e05..faa1289c 100644
--- a/js/hide-threads.js
+++ b/js/hide-threads.js
@@ -54,11 +54,12 @@ $(document).ready(function(){
var hidden_div = thread_container.find('div.post.op > p.intro').clone();
hidden_div.addClass('thread-hidden');
- hidden_div.find('a[href],input').remove();
+ hidden_div.find('a[href]:not([href$=".html"]),input').remove();
+ hidden_div.html(hidden_div.html().replace(' [] ', ' '));
hidden_div.html(hidden_div.html().replace(' [] ', ' '));
- $('[+] ')
- .insertAfter(thread_container.find('a.hide-thread-link'))
+ $('[+] ')
+ .insertBefore(hidden_div.find(':first'))
.click(function() {
delete hidden_data[board][id];
store_data();
diff --git a/stylesheets/style.css b/stylesheets/style.css
index 12cc54d5..c0430b7c 100644
--- a/stylesheets/style.css
+++ b/stylesheets/style.css
@@ -404,3 +404,8 @@ table.mod.config-editor td {
table.mod.config-editor input[type="text"] {
width: 98%;
}
+p.intro.thread-hidden {
+ margin: 0px;
+ padding: 0px;
+}
+