mirror of
https://github.com/zadam/trilium.git
synced 2025-10-20 15:19:01 +02:00
fix(command_palette): full screen not working on the browser
This commit is contained in:
parent
baf341b312
commit
54e3ab5139
@ -113,7 +113,9 @@ export default class Entrypoints extends Component {
|
|||||||
if (win.isFullScreenable()) {
|
if (win.isFullScreenable()) {
|
||||||
win.setFullScreen(!win.isFullScreen());
|
win.setFullScreen(!win.isFullScreen());
|
||||||
}
|
}
|
||||||
} // outside of electron this is handled by the browser
|
} else {
|
||||||
|
document.documentElement.requestFullscreen();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
reloadFrontendAppCommand() {
|
reloadFrontendAppCommand() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user