From d94143b6c67e1c48fee2f6ecb549fd3197a66378 Mon Sep 17 00:00:00 2001 From: czaks Date: Tue, 31 Mar 2015 08:58:54 +0200 Subject: [PATCH] fix wpaint & file-selection interaction --- js/wpaint.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/wpaint.js b/js/wpaint.js index 67d58fc2..a245a22b 100644 --- a/js/wpaint.js +++ b/js/wpaint.js @@ -44,7 +44,7 @@ oekaki.init = function() { var oekaki_form = 'Oekaki
'; // Add oekaki after the file input - $('form[name="post"]:not(#quick-reply) input[type="file"]').parent().parent().after(oekaki_form); + $('form[name="post"]:not(#quick-reply) [id="upload"]').after(oekaki_form); $('').appendTo($("head")); $('').appendTo($("head"));