Remove line breaks in arrays
This commit is contained in:
@ -96,11 +96,7 @@ class Fullscreen {
|
||||
|
||||
// Check for fullscreen support by vendor prefix
|
||||
let value = '';
|
||||
const prefixes = [
|
||||
'webkit',
|
||||
'moz',
|
||||
'ms',
|
||||
];
|
||||
const prefixes = ['webkit', 'moz', 'ms'];
|
||||
|
||||
prefixes.some(pre => {
|
||||
if (is.function(document[`${pre}ExitFullscreen`]) || is.function(document[`${pre}CancelFullScreen`])) {
|
||||
|
Reference in New Issue
Block a user