mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-22 05:06:09 +03:00
Merge pull request #2145 from tdiprima/patch-1
updated conditional expression
This commit is contained in:
commit
3aca527360
@ -1986,7 +1986,7 @@ function OpenSeadragon( options ){
|
|||||||
*/
|
*/
|
||||||
setElementPointerEvents: function( element, value ) {
|
setElementPointerEvents: function( element, value ) {
|
||||||
element = $.getElement( element );
|
element = $.getElement( element );
|
||||||
if ( typeof element.style.pointerEvents !== 'undefined' ) {
|
if (typeof element.style !== 'undefined' && typeof element.style.pointerEvents !== 'undefined' ) {
|
||||||
element.style.pointerEvents = value;
|
element.style.pointerEvents = value;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user