Skip to content

Commit

Permalink
ok everything
Browse files Browse the repository at this point in the history
  • Loading branch information
p32929 committed Jun 13, 2019
1 parent 0984ac8 commit 19f0cdd
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions js/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -291,12 +291,13 @@ $(document).ready(function () {
})

function makeFullscreen(b) {
currentWindow.setAlwaysOnTop(b)
currentWindow.setFullScreen(b)

if (b) {
currentWindow.maximize()
currentWindow.setAlwaysOnTop(b)
currentWindow.setFullScreen(b)
} else {
currentWindow.setAlwaysOnTop(b)
currentWindow.setFullScreen(b)
currentWindow.unmaximize()
}
}

0 comments on commit 19f0cdd

Please sign in to comment.