File tree Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -35,14 +35,11 @@ define([
35
35
allowZoomOut = false ,
36
36
allowZoomIn = true ;
37
37
38
- ( function ( ) {
39
- var style = document . documentElement . style ,
40
- transitionEnabled = style . transition !== undefined ||
41
- style . WebkitTransition !== undefined ||
42
- style . MozTransition !== undefined ||
43
- style . MsTransition !== undefined ||
44
- style . OTransition !== undefined ;
45
- } ) ( ) ;
38
+ transitionEnabled = document . documentElement . style . transition !== undefined ||
39
+ document . documentElement . style . WebkitTransition !== undefined ||
40
+ document . documentElement . style . MozTransition !== undefined ||
41
+ document . documentElement . style . MsTransition !== undefined ||
42
+ document . documentElement . style . OTransition !== undefined ;
46
43
47
44
/**
48
45
* Return width and height of original image
You can’t perform that action at this time.
0 commit comments