[BUGFIX] Fullscreen icon switch
This commit is contained in:
parent
e1d3a3d7b2
commit
3311e70296
@ -184,6 +184,7 @@ define({
|
||||
|| fel.webkitRequestFullScreen
|
||||
|| fel.mozRequestFullScreen;
|
||||
func.call(fel);
|
||||
btn.classList.remove('ion-full-enter');
|
||||
btn.classList.add('ion-full-exit');
|
||||
} else {
|
||||
func = document.exitFullscreen
|
||||
@ -191,6 +192,7 @@ define({
|
||||
|| document.mozCancelFullScreen;
|
||||
if (func) {
|
||||
func.call(document);
|
||||
btn.classList.remove('ion-full-exit');
|
||||
btn.classList.add('ion-full-enter');
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user