mirror of
https://github.com/zadam/trilium.git
synced 2025-11-10 23:35:50 +01:00
client: Hide native title bar setting on web
This commit is contained in:
@@ -85,6 +85,9 @@ function now() {
|
||||
return formatTimeWithSeconds(new Date());
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns `true` if the client is currently running under Electron, or `false` if running in a web browser.
|
||||
*/
|
||||
function isElectron() {
|
||||
return !!(window && window.process && window.process.type);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user