File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed
Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change 184184 } ;
185185
186186 // Update the status message with the patch title
187- const statusMessage = document . getElementById ( "status-message" ) ;
188- if ( item . Title ) {
189- statusMessage . textContent = `Downloading ${ item . Title } ...` ;
190- }
191187
192188 if ( item . Type == "zip" ) {
189+ const statusMessage = document . getElementById ( "status-message" ) ;
190+ if ( item . Title ) {
191+ statusMessage . textContent = `${ item . Title } download started` ;
192+ }
193193 window . open ( item . Download , "_blank" ) ;
194194 } else {
195+ const statusMessage = document . getElementById ( "status-message" ) ;
196+ if ( item . Title ) {
197+ statusMessage . textContent = `Downloading ${ item . Title } ...` ;
198+ }
199+
195200 fetch ( item . Download )
196201 . then ( ( response ) => {
197202 if ( ! response . ok ) {
You can’t perform that action at this time.
0 commit comments