mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2025-07-04 20:46:39 +02:00
Added clear interval
Also ensures that the persistent data is loaded correctly in ESR. Fixes #139 and #143
This commit is contained in:
parent
ec1c5ae7d8
commit
3cb1974b18
14 changed files with 283 additions and 43 deletions
|
@ -140,6 +140,14 @@
|
|||
if (setting.action){
|
||||
interaction = createButton(setting);
|
||||
}
|
||||
else if (setting.inputs){
|
||||
interaction = document.createElement("span");
|
||||
setting.inputs.forEach(function(inputSetting){
|
||||
var input = createInput(inputSetting);
|
||||
input.classList.add("multiple" + setting.inputs.length);
|
||||
interaction.appendChild(input);
|
||||
});
|
||||
}
|
||||
else {
|
||||
interaction = createInput(setting);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue