From 5e1e328cc3cea6428f4ebe776669413d479d1b1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micka=C3=ABl=20V=C3=A9ril?= Date: Tue, 18 Jan 2022 10:25:50 +0100 Subject: [PATCH] Fix typos --- content/view.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/content/view.html b/content/view.html index 28d415f7..27824c6c 100644 --- a/content/view.html +++ b/content/view.html @@ -15,8 +15,8 @@ draft: false var browsers = {}; browsers["Chromium"] = "https://chromium.woolyss.com/download"; browsers["Firefox"] = "https://www.mozilla.org/fr/firefox"; - var recomsting = "We recomend to use Firefox or a Chromium based browser like Google Chrome"; - btn_clip.title = 'This feature is not supported in this bowser\n' + recomsting; + var recomstring = "We recommend to use Firefox or a Chromium based browser like Google Chrome".; + btn_clip.title = 'This feature is not supported in this browser.\n' + recomsting; var mystr = 'navigator.clipboard.writeText() not supported in this browser\n' + recomsting; for (var key in browsers) { mystr += "\n" + String.raw`Download ${key} : ${browsers[key]}`; @@ -27,7 +27,7 @@ draft: false var key = ["file", "fileBase64"] if (params.has(key[0])) { var filename = params.get(key[0]); - var text = await getTextFromFileUrlAsync(filename,{"Cache-Control":"max-age=0"}) + var text = await getTextFromFileUrlAsync(filename, {"Cache-Control":"max-age=0"}) $("#btn_download").click(function () { var b = new Blob([text],{type:"text/plain;charset=utf-8"}); saveAs(b, filename.substring(filename.lastIndexOf('/')+1))