From 5a32e729e0b6e61934df4c69f6c860ef9dc0cb71 Mon Sep 17 00:00:00 2001 From: sh <37271604+shumvgolove@users.noreply.github.com> Date: Fri, 13 Mar 2026 15:01:15 +0000 Subject: [PATCH] xftp-web: add "Upload your file" link after download completes (#1736) * xftp-web: add "Upload your file" link after download completes * xftp-web: call initUpload directly instead of hashchange dispatch --- xftp-web/web/download.ts | 9 +++++++++ xftp-web/web/style.css | 14 ++++++++++++++ 2 files changed, 23 insertions(+) diff --git a/xftp-web/web/download.ts b/xftp-web/web/download.ts index 35e09d701..da7d8a38f 100644 --- a/xftp-web/web/download.ts +++ b/xftp-web/web/download.ts @@ -1,5 +1,6 @@ import {createCryptoBackend} from './crypto-backend.js' import {createProgressRing} from './progress.js' +import {initUpload} from './upload.js' import {t} from './i18n.js' import { newXFTPAgent, closeXFTPAgent, @@ -39,6 +40,7 @@ export function initDownload(app: HTMLElement, hash: string) {