POS Print receipt button not working

Hi friends nice interface changes in ERPNext v13.
I am facing an issue where when i click PRINT RECEIPT button in POS, it is not printing. and giving below js error

Please help

Can anyone help regarding?

Please anyone help?

Need help urgently.

No body helped. But I managed to get it solved but through dirty way.
I have modified pos_past_order_summary.js file.
old code

this.$summary_container.on(‘click’, ‘.print-btn’, () => {
const frm = this.events.get_frm();
frm.doc = this.doc;
frm.print_preview.lang_code = frm.doc.language;

new Code:

this.$summary_container.on(‘click’, ‘.print-btn’, () => {

I hope this will help someone.