Clear spinner after window.print

Looks like window.print may block so keep the spinner until
it's finished execution.

This may or may not fix the larger issue being discussed in the bug
but is harmless so why not.

Bug: T181261
Change-Id: I927d4bc8c96d74c14463f71b7ce6dec62618a485
This commit is contained in:
jdlrobson 2017-11-27 12:33:14 -08:00
parent fd71cb1df0
commit 9826055afc

View file

@ -46,8 +46,8 @@
function doPrint() {
self.timeout = clearTimeout( self.timeout );
hideSpinner();
window.print();
hideSpinner();
}
// The click handler may be invoked multiple times so if a pending print is occurring