Closed cnspaha closed 8 years ago
It is better to request the current API than the binded one. Using doc[w3.element]
would reject the promise while exiting fullscreen (doc[api.element]
is correctly at null
since we just exited fullscreen, doc[w3.element]
is still binded to the fullscreen element).
I think that is the more correct way.