Changeset a39c9bd in Klonkt for src/assets/js/mod/download.js
- Timestamp:
- 08/07/2026 07:01:20 PM (5 weeks ago)
- Branches:
- main
- Children:
- a66266d
- Parents:
- 7df47b6 (diff), a8364ee (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - File:
-
- 1 edited
-
src/assets/js/mod/download.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/assets/js/mod/download.js
r7df47b6 ra39c9bd 7 7 import { pageData } from './lib.js'; 8 8 9 // Element-bedrading leeft zo lang als de pagina; de bootstrap roept init() 10 // aan bij elke paginawissel waarop deze module actief is (shaer-5s1). 11 export function init() { run(); } 12 13 function run() { 9 14 // Auto-start de download (zelfde-origin attachment-link). 10 15 setTimeout(function(){ try { window.location.href = (pageData().fileUrl || ''); } catch(e){} }, 600); 11 16 }
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)