mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-24 14:23:53 +00:00
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:
parent
fd71cb1df0
commit
9826055afc
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue