10
0
mirror of https://github.com/LCPQ/QUESTDB_website.git synced 2024-12-25 05:43:46 +01:00

Fix typos

This commit is contained in:
Mickaël Véril 2022-01-18 10:25:50 +01:00
parent f0ab0482e0
commit 5e1e328cc3

View File

@ -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))