diff --git a/server/pages/archive.html b/server/pages/archive.html
index 57598c6..d8348aa 100644
--- a/server/pages/archive.html
+++ b/server/pages/archive.html
@@ -53,10 +53,11 @@ $(function() {
parseInt(rec.starttime, 10)).toLocaleString()
);
var duration = $('
| ').text(delta(rec.endtime, rec.starttime));
+ var dl_text = $('').text(" Scarica").addClass('pure-hidden-phone');
var fn = $(" | ").append($("").prop("href", "/output/" +
rec.filename).addClass("pure-button pure-button-small")
.html( $("").addClass("fa fa-download").css("color", "green"))
- .append(" Scarica") );
+ .append(dl_text));
var row = $('
').append(name).append(start).append(duration).append(fn);
$('#ongoing-recs-table tbody').append(row);
}
diff --git a/server/static/js/old.js b/server/static/js/old.js
index cee817b..1ed4ff8 100644
--- a/server/static/js/old.js
+++ b/server/static/js/old.js
@@ -23,7 +23,7 @@ var form = {
errs.unshift({ msg: msg, el: element});
}
var v = form.get_values();
- if(v.val === '') {
+ if(v.name === '') {
err("Nome mancante", $('#name'));
}
if(v.start === null) {