From daf9c78eed6c833bb4ce8e54295675c49905fe14 Mon Sep 17 00:00:00 2001 From: RainyXeon / Date: Thu, 27 Jun 2024 17:05:36 +0700 Subject: [PATCH] fix: module list field now showing on production --- webroot/js/main.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/webroot/js/main.js b/webroot/js/main.js index b299b42..500b22d 100644 --- a/webroot/js/main.js +++ b/webroot/js/main.js @@ -63,6 +63,7 @@ import { fullScreen, exec, toast } from './kernelsu.js'; rezygisk_icon_state.innerHTML = '' } + const modules_card = document.getElementById('modules_card') const modules_list = document.getElementById('modules_list') const findModulesCmd = await exec('find /data/adb/modules -type d -name zygisk -exec dirname {} \\;') @@ -72,7 +73,7 @@ import { fullScreen, exec, toast } from './kernelsu.js'; if (modules.length === 0) return; - modules_list.removeAttribute('style') + modules_card.removeAttribute('style') let index = 0 for (const module of modules) {