Hello, I have followed the detailed instructions in the post:
https://wplms.io/support/forums/topic/attachment-download-bug-issue-and-open-in-_blank/
And, despite the fact that target="_blank" appears in the link code (looking with the browser inspector), it still does not open the pdf in a new tab.
Any ideas?
Thanks
This reply has been marked as private.
hi
please use this:
<script>
jQuery(document).ready(function(){ jQuery('body').find('.unitattachments a').attr('target', '_blank'); });
$('.unit_content').on('unit_traverse',function(){ jQuery('body').find('.unitattachments a').attr('target', '_blank'); });
</script>
I am sorry to tell you that it is just the code that I am already using.
Any other idea why it happens?
Thanks
let me check the same on your site
This reply has been marked as private.
This reply has been marked as private.
hi just checking the same
yes right this is an issue
https://trello.com/c/tyChbRih
ok, thank you very much for confirming it
I will be pending
All the best
remaining this topic open
so you can ask related queries here