ed-safari/src/settings.js
2023-05-13 13:19:59 -07:00

18 lines
No EOL
494 B
JavaScript

import 'bootstrap/dist/css/bootstrap.css'
import './assets/index.css'
import './assets/ldom.min'
const { ipcRenderer } = require('electron')
/* -------------------------------------------------------------------- close window handler ---- */
$('#closeBtn').on('click', () => {
ipcRenderer.send('CLOSE_WINDOW')
})
/* ---------------------------------------------------------------- load main window handler ---- */
$('#backBtn').on('click', () => {
ipcRenderer.send('LOAD_MAIN')
})