Browse Source

Fix codacy issues

rfm69
Xose Pérez 6 years ago
parent
commit
e46a904ff4
4 changed files with 2794 additions and 2793 deletions
  1. BIN
      code/espurna/data/index.html.gz
  2. +2783
    -2783
      code/espurna/static/index.html.gz.h
  3. +7
    -6
      code/html/custom.css
  4. +4
    -4
      code/html/custom.js

BIN
code/espurna/data/index.html.gz View File


+ 2783
- 2783
code/espurna/static/index.html.gz.h
File diff suppressed because it is too large
View File


+ 7
- 6
code/html/custom.css View File

@ -121,12 +121,13 @@ div.state {
text-align: right; text-align: right;
} }
.terminal {
font-family: 'Courier New', monospace !important;
font-size: 80% !important;
line-height: 100% !important;
background-color: #000 !important;
color: #0F0 !important;
.pure-g span.terminal,
.pure-g textarea.terminal {
font-family: 'Courier New', monospace;
font-size: 80%;
line-height: 100%;
background-color: #000;
color: #0F0;
} }
/* ----------------------------------------------------------------------------- /* -----------------------------------------------------------------------------


+ 4
- 4
code/html/custom.js View File

@ -77,12 +77,12 @@ function magnitudeError(error) {
$.fn.enterKey = function (fnc) { $.fn.enterKey = function (fnc) {
return this.each(function () { return this.each(function () {
$(this).keypress(function (ev) { $(this).keypress(function (ev) {
var keycode = (ev.keyCode ? ev.keyCode : ev.which);
if (keycode == '13') {
var keycode = parseInt(ev.keyCode ? ev.keyCode : ev.which, 10);
if (13 === keycode) {
fnc.call(this, ev); fnc.call(this, ev);
} }
})
})
});
});
} }
function keepTime() { function keepTime() {


Loading…
Cancel
Save