quick-reply.js and oekaki.js interoperation fix

This commit is contained in:
czaks 2013-09-17 18:12:54 -04:00
parent 65a0e133d4
commit 3af05ed55b
2 changed files with 6 additions and 1 deletions

View file

@ -16,7 +16,7 @@ var oekaki_form = '\
function init_oekaki() {
// Add oekaki after the file input
$('input[type="file"]').parent().parent().after(oekaki_form);
$('form[name="post"]:not(#quick-reply) input[type="file"]').parent().parent().after(oekaki_form);
// Add "edit in oekaki" links
$(".fileinfo .unimportant").append(' <a href="javascript:void(0)" class="edit_in_oekaki">['+_('Edit in oekaki')+']</a>');
// Init oekaki vars