add javascript to Issue View

I am experiencing this bug in Version 6

in order to workaround this bug,
I want to add this javscript to the issue view to make sure the pictures atached from emails appear on the screen instead of a blank box. How can I add

var iii = 0;$('.wiki.picture-mailbox').each(function(){$(this).css('max-width','100%').css('max-height','100%').attr('width',"").attr('height',"").attr('src',$($('.show-img-attach.attach-zoom')[iii]).attr('href'));iii++;})

Please sign in to leave a comment.