kopher

A simple Gopher client for KaiOS
git clone git://git.luxferre.top/kopher.git
Log | Files | Refs | README | LICENSE

commit 175fbe43126ab22144e54af99e94f35aaabc351e
parent b7e9b40e32e7eec1c6cabc33bdc403c1f5f66eba
Author: Luxferre <lux@ferre>
Date:   Sat, 25 Mar 2023 18:59:13 +0200

fixed blob loading

Diffstat:
Mjs/app.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/js/app.js b/js/app.js @@ -27,7 +27,7 @@ function openURL(url, successCb, errorCb) { if(resource.length > 4) input = resource[4] Hi01379.load(resource, input, function(res) { if(res.content && res.content instanceof Blob) { // handle the download here - successCb({content: null, serviceMsg: 'Opening a downloaded file ' + res.contentName, updateAddr: false}) + successCb({content: null, serviceMsg: 'Downloaded ' + res.contentName, updateAddr: false}) window.open(URL.createObjectURL(res.content)) } else successCb(res) // proceed to UI with non-downloads