()
| 1050 | } |
| 1051 | |
| 1052 | function closeFullscreen() { |
| 1053 | if (document.exitFullscreen) { |
| 1054 | document.exitFullscreen(); |
| 1055 | } else if (document.webkitExitFullscreen) { |
| 1056 | /* Safari */ |
| 1057 | document.webkitExitFullscreen(); |
| 1058 | } else if (document.msExitFullscreen) { |
| 1059 | /* IE11 */ |
| 1060 | document.msExitFullscreen(); |
| 1061 | } |
| 1062 | } |
| 1063 | |
| 1064 | //theme functions |
| 1065 | window.hex2rgb = (hex) => { |