fix eslint errors

pull/2790/head
Andrew Bauer 2019-12-31 19:24:51 -06:00
parent f5776f8d80
commit 98f7fb63b9
2 changed files with 4 additions and 4 deletions

View File

@ -180,7 +180,7 @@ window.addEventListener("DOMContentLoaded", function onSkinDCL() {
if ( !window[fnName] ) {
console.error("Nothing found to bind to " + fnName + " on element " + el.name);
return;
}
}
el.onclick = function() {
window[fnName]();

View File

@ -141,8 +141,8 @@ function initPage() {
function change_WebColour() {
$j('#WebSwatch').css(
'backgroundColor',
$j('input[name="newMonitor[WebColour]"]').val()
'backgroundColor',
$j('input[name="newMonitor[WebColour]"]').val()
);
}
@ -159,7 +159,7 @@ function random_WebColour() {
var new_colour = getRandomColour();
$j('input[name="newMonitor[WebColour]"]').val(new_colour);
$j('#WebSwatch').css(
'backgroundColor', new_colour
'backgroundColor', new_colour
);
}