From c54e3844e3b46776e408cd56cf8bf7dd194c7b9d Mon Sep 17 00:00:00 2001 From: altaf-creator Date: Sun, 9 Jun 2024 19:35:01 +0700 Subject: why redirect to sura? fixed to sura.html --- src/scripts/sura-list.js | 34 ++++++++++------------------------ 1 file changed, 10 insertions(+), 24 deletions(-) (limited to 'src/scripts') diff --git a/src/scripts/sura-list.js b/src/scripts/sura-list.js index abbae2e..eb03ac7 100644 --- a/src/scripts/sura-list.js +++ b/src/scripts/sura-list.js @@ -42,28 +42,14 @@ function loadMetadataButtons(xml) { var index = sura[i].getAttribute('index'); var tname = sura[i].getAttribute('tname'); - try { - process.versions['electron']; - - document.getElementById("sura-ul").innerHTML += ` -
  • - - - - - -
    ${index}${tname}
    -
  • `; - } catch { - document.getElementById("sura-ul").innerHTML += ` -
  • - - - - - -
    ${index}${tname}
    -
  • `; - } + document.getElementById("sura-ul").innerHTML += ` +
  • + + + + + +
    ${index}${tname}
    +
  • `; } -} \ No newline at end of file +} -- cgit v1.2.3