Skip to content

Commit

Permalink
Version 6.8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
luigifab committed Oct 10, 2021
1 parent fa4b89b commit b2a5fd9
Show file tree
Hide file tree
Showing 13 changed files with 26 additions and 20 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ For more information, go to https://www.luigifab.fr/apijs (IPv6 is required, it'

This repository is a releases mirror. To install it, please read the documentation.

- Current version: 6.8.0 (08/08/2021)
- Current version: 6.8.1 (10/10/2021)
- Client compatibility: Firefox 36+, Chrome 32+, Opera 19+, Edge 16+, Safari 9+
- Translations: English (en), French (fr-FR/fr-CA), German (de), Italian (it), Portuguese (pt-PT/pt-BR), Spanish (es) / Chinese (zh), Czech (cs), Dutch (nl), Greek (el), Hungarian (hu), Japanese (ja), Polish (pl), Romanian (ro), Russian (ru), Slovak (sk), Turkish (tr), Ukrainian (uk)
- License: GNU GPL 2+
Expand Down
9 changes: 7 additions & 2 deletions src/javascripts/dialog.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Created D/12/04/2009
* Updated L/24/05/2021
* Updated J/23/09/2021
*
* Copyright 2008-2021 | Fabrice Creuzot (luigifab) <code~luigifab~fr>
* https://www.luigifab.fr/apijs
Expand Down Expand Up @@ -646,7 +646,12 @@ apijs.core.dialog = function () {
if (old) {
this.toggle('start', 'ready');
this.t1 = old;
this.t1.appendChild(this.t0.firstChild.firstChild);
// avant la vie était simple : this.t1.appendChild(this.t0.firstChild.firstChild);
// maintenant il peut y avoir un second élément en plus de la div id=apijsBox (p.drag)
// https://stackoverflow.com/a/24775765/2980105
Array.prototype.slice.call(this.t0.firstChild.childNodes).forEach(function (node) {
this.t1.appendChild(node);
}, this); // pour que ci-dessus this = this
this.t1.setAttribute('class', this.t2.getAttribute('class'));
}
else if (this.has('notransition')) {
Expand Down
4 changes: 2 additions & 2 deletions src/javascripts/main.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Created J/03/12/2009
* Updated V/09/07/2021
* Updated J/23/09/2021
*
* Copyright 2008-2021 | Fabrice Creuzot (luigifab) <code~luigifab~fr>
* https://www.luigifab.fr/apijs
Expand Down Expand Up @@ -46,7 +46,7 @@ var apijs = new (function () {

"use strict";
this.core = {};
this.version = 680;
this.version = 681;

this.config = {
lang: 'auto',
Expand Down
5 changes: 3 additions & 2 deletions src/javascripts/upload.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Created L/13/04/2009
* Updated D/18/07/2021
* Updated J/23/09/2021
*
* Copyright 2008-2021 | Fabrice Creuzot (luigifab) <code~luigifab~fr>
* https://www.luigifab.fr/apijs
Expand Down Expand Up @@ -114,7 +114,8 @@ apijs.core.upload = function () {
if (this.exts) {

// 1048576 octet = 1 Mo
Array.prototype.forEach.call((this.allmax > 0) ? elem.files : Array.prototype.slice.call(elem.files, 0, 1), function (file, idx) {
//Array.prototype.forEach.call((this.allmax > 0) ? elem.files : Array.prototype.slice.call(elem.files, 0, 1), function (file, idx) {
Array.prototype.slice.call(elem.files, 0, (this.allmax > 0) ? 999 : 1).forEach(function (file, idx) {

var txt = file.size / 1048576;
txt = apijs.formatNumber((txt < 0.01) ? 0.01 : txt);
Expand Down
4 changes: 2 additions & 2 deletions src/styles/dialog.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Created V/08/05/2009
* Updated V/18/06/2021
* Updated J/23/09/2021
*
* Copyright 2008-2021 | Fabrice Creuzot (luigifab) <code~luigifab~fr>
* https://www.luigifab.fr/apijs
Expand Down Expand Up @@ -172,7 +172,7 @@ div[id="apijsDialog"] * { margin:0; padding:0; }
/* &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& clavier &&& */
#apijsBox ul.kbd {
display:flex; justify-content:center; margin:0; text-align:center;
font-size:0.8em; white-space:nowrap; list-style:none; background-color:#666;
font-size:0.8em; white-space:nowrap; list-style:none; background-color:#777;
}

#apijsBox ul.kbd li { margin:0 0.5em; line-height:1.2rem; }
Expand Down
2 changes: 1 addition & 1 deletion src/zip/apijs-print.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/zip/apijs-print.min.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/zip/apijs-screen-rtl.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/zip/apijs-screen-rtl.min.css.map

Large diffs are not rendered by default.

Loading

0 comments on commit b2a5fd9

Please sign in to comment.