summaryrefslogtreecommitdiff
path: root/js/quick-reply.js
diff options
context:
space:
mode:
authorMichael Foster <savetheinternet@tinyboard.org>2013-09-15 07:49:14 +1000
committerMichael Foster <savetheinternet@tinyboard.org>2013-09-15 07:49:14 +1000
commitaf657bc6e73e63751e74d7f854ab46f13c3a8e08 (patch)
tree70fd0dad8e6e7c9f961726cf854c329c237235f3 /js/quick-reply.js
parent841dbaef9050a80c4dcf13cd71ef6daf27ad4c72 (diff)
remove mod controls from quick reply, looks shit
Diffstat (limited to 'js/quick-reply.js')
-rw-r--r--js/quick-reply.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/js/quick-reply.js b/js/quick-reply.js
index 0abf4be3..3fcdb331 100644
--- a/js/quick-reply.js
+++ b/js/quick-reply.js
@@ -122,6 +122,11 @@ var show_quick_reply = function(){
$td.find('input[name="file_url"]').removeAttr('id');
}
}
+
+ // Remove mod controls, because it looks shit.
+ if ($td.find('input[type="checkbox"]').length) {
+ $(this).remove();
+ }
}
});