Skip to content
This repository has been archived by the owner on Jan 13, 2022. It is now read-only.

Commit

Permalink
fixed fullscreenElement false positive
Browse files Browse the repository at this point in the history
H.get.domProp returns false when it couldn't find the attribute, which is a bit odd to me. Anyway fullscreenElement attribute always should not have a Boolean value.
  • Loading branch information
saschanaz committed Oct 8, 2013
1 parent 8b85ded commit ff8e596
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/fullscreen/test.js
Expand Up @@ -10,7 +10,7 @@ test("FullScreen", function() {


test("FullScreen document", function() {
var fullscreenElement = H.get.domProp( document, "fullscreenElement", true ) !== undefined,
var fullscreenElement = H.get.domProp( document, "fullscreenElement", true ) !== false,
fullscreenEnabled = H.API( document, "fullscreenEnabled", true ),
exitFullscreen = H.API( document, "exitFullscreen", true );

Expand Down

0 comments on commit ff8e596

Please sign in to comment.