In my website, if I click on the print button which is
<button class="btn btn-success float-right print_btn" onclick="window.print()">
<i class="fas fa-print">
</i><span class="bold">Print</span>
</button>
it's showing nothing after updating chrome 77. and on the console if I use window.print();
it is showing undefined
why so?
I have also noticed one thing that if I copy the link and paste in another tab it's working fine. but the link is dynamically generated.