File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -215,13 +215,15 @@ document.addEventListener("DOMContentLoaded", () => {
215
215
if ( slideAsset ) {
216
216
slideDeckLink . href = slideAsset . browser_download_url ;
217
217
slideDeckLink . download = "" ;
218
+ } else {
218
219
slideDeckLink . href = video . release_url ;
219
220
slideDeckLink . target = "_blank" ;
220
- slideDeckLink . textContent = "Download Slide Deck" ;
221
- slideDeckLink . className = "link-button slidedeck-button" ;
222
- leftButtonGroup . appendChild ( slideDeckLink ) ;
223
221
}
224
222
223
+ slideDeckLink . textContent = "Download Slide Deck" ;
224
+ slideDeckLink . className = "link-button slidedeck-button" ;
225
+ leftButtonGroup . appendChild ( slideDeckLink ) ;
226
+
225
227
// Download video link (on left)
226
228
const videoLink = document . createElement ( "a" ) ;
227
229
videoLink . href = video . url ;
You can’t perform that action at this time.
0 commit comments