From b55b80ec9a8a2a2e57d813c797f12008ad5a29f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Hru=C5=A1ka?= Date: Thu, 7 Sep 2017 21:46:16 +0200 Subject: [PATCH] Deploy updates --- about.html | 2 +- js/app.js | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/about.html b/about.html index d4c929d..8a0e532 100644 --- a/about.html +++ b/about.html @@ -54,7 +54,7 @@ - + diff --git a/js/app.js b/js/app.js index fb25582..a97b633 100644 --- a/js/app.js +++ b/js/app.js @@ -1275,7 +1275,7 @@ $.ready(function () { $(h).on('click', hdl).on('keypress', cr(hdl)); }); - qsa('form').forEach(function(x) { + $('form').forEach(function(x) { $(x).on('keypress', function(e) { if ((e.keyCode == 10 || e.keyCode == 13) && e.ctrlKey) { x.submit(); @@ -1346,7 +1346,7 @@ $.ready(function () { // remove tabindixes from h2 if wide if (window.innerWidth > 550) { - qsa('.Box h2').forEach(function (x) { + $('.Box h2').forEach(function (x) { x.removeAttribute('tabindex'); }); @@ -1910,7 +1910,7 @@ var Input = (function() { _initKeys(); // Button presses - qsa('#action-buttons button').forEach(function(s) { + $('#action-buttons button').forEach(function(s) { s.addEventListener('click', function() { sendBtnMsg(+this.dataset['n']); }); @@ -2319,12 +2319,12 @@ var Screen = (function () { function _load_labels(str) { var pieces = str.split('\x01'); qs('h1').textContent = pieces[0]; - qsa('#action-buttons button').forEach(function(x, i) { + $('#action-buttons button').forEach(function(x, i) { var s = pieces[i+1].trim(); // if empty string, use the "dim" effect and put nbsp instead to stretch the btn vertically x.innerHTML = s.length > 0 ? e(s) : " "; x.style.opacity = s.length > 0 ? 1 : 0.2; - }); + }) } /** Audible beep for ASCII 7 */
ESPTermv1.0.0, built 2017-09-07 at 16:41v1.0.0, built 2017-09-07 at 21:45
libesphttpd