mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 19:05:59 +01:00
mobile frontend WIP, removing extra dependencies
This commit is contained in:
@@ -143,6 +143,14 @@ function bindShortcut(keyboardShortcut, handler) {
|
||||
});
|
||||
}
|
||||
|
||||
function isMobile() {
|
||||
return window.device === "mobile";
|
||||
}
|
||||
|
||||
function isDesktop() {
|
||||
return window.device === "desktop";
|
||||
}
|
||||
|
||||
export default {
|
||||
reloadApp,
|
||||
parseDate,
|
||||
@@ -166,5 +174,7 @@ export default {
|
||||
download,
|
||||
toObject,
|
||||
randomString,
|
||||
bindShortcut
|
||||
bindShortcut,
|
||||
isMobile,
|
||||
isDesktop
|
||||
};
|
Reference in New Issue
Block a user