fix eslint errors
parent
f5776f8d80
commit
98f7fb63b9
|
@ -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]();
|
||||
|
|
|
@ -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
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue