mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2025-07-04 20:46:39 +02:00
parent
c16aea3d6e
commit
19a9035bed
5 changed files with 166 additions and 110 deletions
|
@ -129,7 +129,19 @@
|
|||
}
|
||||
else if (setting.keys){
|
||||
input = document.createElement("table");
|
||||
let inSection = false;
|
||||
setting.keys.forEach(function(key){
|
||||
if (setting.display.displayedSection){
|
||||
if (typeof key === "object"){
|
||||
if (key.level === 1){
|
||||
inSection = key.name === setting.display.displayedSection;
|
||||
return;
|
||||
}
|
||||
}
|
||||
if (!inSection){
|
||||
return;
|
||||
}
|
||||
}
|
||||
let row = document.createElement("tr");
|
||||
if (typeof key === "object"){
|
||||
let cell = document.createElement("td");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue