Changeset a8364ee in Klonkt for src/assets/js/mod/download.js
- Timestamp:
- 08/07/2026 06:47:45 PM (5 weeks ago)
- Branches:
- main
- Children:
- 3ca7bdf, a39c9bd
- Parents:
- da84110
- git-author:
- Robin <roboburr@…> (08/07/2026 06:47:02 PM)
- git-committer:
- Robin <roboburr@…> (08/07/2026 06:47:45 PM)
- File:
-
- 1 edited
-
src/assets/js/mod/download.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/assets/js/mod/download.js
rda84110 ra8364ee 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)