mirror of
https://gitlab.com/ryzen-controller-team/ryzen-controller.git
synced 2024-12-22 10:03:28 +07:00
Auto reindent
This commit is contained in:
parent
e85d37c004
commit
0a2addb055
@ -1,22 +1,22 @@
|
|||||||
function ready(fn) {
|
function ready(fn) {
|
||||||
if (document.attachEvent ? document.readyState === "complete" : document.readyState !== "loading"){
|
if (document.attachEvent ? document.readyState === "complete" : document.readyState !== "loading"){
|
||||||
fn();
|
fn();
|
||||||
} else {
|
} else {
|
||||||
document.addEventListener('DOMContentLoaded', fn);
|
document.addEventListener('DOMContentLoaded', fn);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
ready(function(){
|
||||||
|
var ranges = document.querySelectorAll('[repeat]');
|
||||||
|
for (const range in ranges) {
|
||||||
|
if (ranges.hasOwnProperty(range)) {
|
||||||
|
const element = ranges[range];
|
||||||
|
element.addEventListener('change', function(event) {
|
||||||
|
var repeater = document.getElementById(event.target.attributes.repeat.value);
|
||||||
|
repeater.value = event.target.value;
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
ready(function(){
|
});
|
||||||
var ranges = document.querySelectorAll('[repeat]');
|
|
||||||
for (const range in ranges) {
|
|
||||||
if (ranges.hasOwnProperty(range)) {
|
|
||||||
const element = ranges[range];
|
|
||||||
element.addEventListener('change', function(event) {
|
|
||||||
var repeater = document.getElementById(event.target.attributes.repeat.value);
|
|
||||||
repeater.value = event.target.value;
|
|
||||||
});
|
|
||||||
}
|
|
||||||
}
|
|
||||||
});
|
|
||||||
/*
|
/*
|
||||||
stapm_limit_w_range
|
stapm_limit_w_range
|
||||||
ppt_fast_limit_w_range
|
ppt_fast_limit_w_range
|
||||||
|
Loading…
Reference in New Issue
Block a user