Refactor helpers.js to reduce file size

This commit is contained in:
Nariman Jelveh
2024-03-16 20:13:48 -07:00
parent 3ba9222d9c
commit f3e4a12e57
6 changed files with 126 additions and 89 deletions
+2 -1
View File
@@ -33,6 +33,7 @@ import UIWindowLogin from "./UIWindowLogin.js"
import UIWindowQR from "./UIWindowQR.js"
import UIWindowRefer from "./UIWindowRefer.js"
import UITaskbar from "./UITaskbar.js"
import new_context_menu_item from "../helpers/new_context_menu_item.js"
async function UIDesktop(options){
let h = '';
@@ -707,7 +708,7 @@ async function UIDesktop(options){
// -------------------------------------------
// New File
// -------------------------------------------
window.new_context_menu_item(desktop_path, el_desktop),
new_context_menu_item(desktop_path, el_desktop),
// -------------------------------------------
// -
// -------------------------------------------