From f2e101f30d2abf17c481fb59ff1a9394cc9e43d5 Mon Sep 17 00:00:00 2001 From: czaks Date: Sat, 27 Sep 2014 11:22:28 +0200 Subject: [PATCH 1/2] fix multi-image.js when quick-reply isn`t loaded --- js/multi-image.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/js/multi-image.js b/js/multi-image.js index 77c3f766..db4c6bd2 100644 --- a/js/multi-image.js +++ b/js/multi-image.js @@ -21,7 +21,9 @@ function multi_image() { var new_file = '
'; $('[type=file]:last').after(new_file); - $('form:not([id="quick-reply"]) [type=file]:last').after(new_file); + if ($("#quick-reply").length) { + $('form:not(#quick-reply) [type=file]:last').after(new_file); + } if (typeof setup_form !== 'undefined') setup_form($('form[name="post"]')); } }) From 629b1c92a6cb6971da36bcc84e38d9e6600e7124 Mon Sep 17 00:00:00 2001 From: czaks Date: Sat, 27 Sep 2014 11:26:30 +0200 Subject: [PATCH 2/2] fix a recently introduced quick-reply max-width issue --- stylesheets/style.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/stylesheets/style.css b/stylesheets/style.css index 5c24679c..5be0ce0f 100644 --- a/stylesheets/style.css +++ b/stylesheets/style.css @@ -102,6 +102,10 @@ input[type="text"], input[type="password"], textarea { max-width: 75%; } +#quick-reply input[type="text"], input[type="password"], #quick-reply textarea { + max-width: 100%; +} + form table tr td { text-align: left; margin: 0;