typeof check is reverted for the toggleFull
This commit is contained in:
parent
247d715ff0
commit
5abdab1783
|
@ -14,7 +14,7 @@
|
|||
}
|
||||
|
||||
function toggleFull(force) {
|
||||
fullscreen = (force != null) ? !!force : (
|
||||
fullscreen = (typeof force == 'boolean') ? force : (
|
||||
window.fullScreen || // Firefox
|
||||
document.webkitFullScreen || // Webkit
|
||||
screen.width == window.outerWidth && screen.height == window.outerHeight
|
||||
|
|
Loading…
Reference in New Issue