allow resize button to restore split streen fails with webkit
This commit is contained in:
parent
f74175564e
commit
b233fd638d
1 changed files with 6 additions and 1 deletions
|
|
@ -2374,7 +2374,12 @@ gapp.register("kiri.init", [], (root, exports) => {
|
|||
};
|
||||
|
||||
$('app-xpnd').onclick = () => {
|
||||
DOC.body.requestFullscreen();
|
||||
try {
|
||||
DOC.body.requestFullscreen();
|
||||
} catch (e) {
|
||||
event.emit('resize');
|
||||
moto.space.event.onResize();
|
||||
}
|
||||
};
|
||||
|
||||
let hpops = [];
|
||||
|
|
|
|||
Loading…
Reference in a new issue