google chrome - window.print is blocking the javascript execution in the source window -


in web app want integrate print functionality. when user clicks print button, new window opening , print dialog appears. code want achieve this:

    var win = window.open(url, '_blank');     win.print(); 

it working, problem in chrome source window stops javascript execution while print dialog open. how possible prevent this?


Comments

Popular posts from this blog

matlab - "Contour not rendered for non-finite ZData" -

delphi - Indy UDP Read Contents of Adata -

javascript - Any ideas when Firefox is likely to implement lengthAdjust and textLength? -