fix menus and dialogs in fullscreen mode

This commit is contained in:
j 2019-02-21 16:10:58 +05:30
commit b8a46dbee4
6 changed files with 8 additions and 5 deletions

View file

@ -110,6 +110,7 @@ Ox.Fullscreen = (function() {
// FIXME: Why does storing the function in a variable not work?
// enter && enter();
// ^ Missing `this` binding
that.element = element
};
that.exit = function() {
@ -123,6 +124,7 @@ Ox.Fullscreen = (function() {
// FIXME: Why does storing the function in a variable not work?
// exit && exit();
// ^ Missing `this` binding
delete that.element
};
that.getState = function() {