Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixed fullscreenElement false positive

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...
commit ff8e596f8d674e469b9eb438e97592ee26507707 1 parent 8b85ded
@SaschaNaz SaschaNaz authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  tests/fullscreen/test.js
View
2  tests/fullscreen/test.js
@@ -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 );
Please sign in to comment.
Something went wrong with that request. Please try again.