GilbertClaus commited on
Commit
90015aa
·
1 Parent(s): d6652a2
Files changed (1) hide show
  1. ArkReCode/script.js +10 -9
ArkReCode/script.js CHANGED
@@ -85,16 +85,17 @@ window.onload = () => {
85
 
86
  // Urutkan nama-nama berdasarkan key
87
  const sortedNames = Object.keys(videoMap).sort((a, b) => a.localeCompare(b));
88
-
89
  sortedNames.forEach(name => {
90
- const btn = document.createElement("button");
91
- btn.textContent = name;
92
- btn.className = "chara";
93
- btn.onclick = function () {
94
- playVideo(this);
95
- };
96
- container.appendChild(btn);
97
- });
 
 
98
  })
99
  .catch(err => {
100
  showNotif("Gagal ambil daftar karakter dari server");
 
85
 
86
  // Urutkan nama-nama berdasarkan key
87
  const sortedNames = Object.keys(videoMap).sort((a, b) => a.localeCompare(b));
 
88
  sortedNames.forEach(name => {
89
+ if (!name.includes("Skill") && !name.includes("Sex")) {
90
+ const btn = document.createElement("button");
91
+ btn.textContent = name;
92
+ btn.className = "chara";
93
+ btn.onclick = function () {
94
+ playVideo(this);
95
+ };
96
+ container.appendChild(btn);
97
+ }
98
+ });
99
  })
100
  .catch(err => {
101
  showNotif("Gagal ambil daftar karakter dari server");