Commit 5abdab17 authored by Vadim Makeev's avatar Vadim Makeev

typeof check is reverted for the toggleFull

parent 247d715f
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
} }
function toggleFull(force) { function toggleFull(force) {
fullscreen = (force != null) ? !!force : ( fullscreen = (typeof force == 'boolean') ? force : (
window.fullScreen || // Firefox window.fullScreen || // Firefox
document.webkitFullScreen || // Webkit document.webkitFullScreen || // Webkit
screen.width == window.outerWidth && screen.height == window.outerHeight screen.width == window.outerWidth && screen.height == window.outerHeight
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment