We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
global
1 parent 1cda7bf commit 8542089Copy full SHA for 8542089
lib/Draggable.es6
@@ -192,7 +192,7 @@ export default class Draggable extends React.Component {
192
193
componentDidMount() {
194
// Check to see if the element passed is an instanceof SVGElement
195
- if(typeof global.SVGElement !== 'undefined' && ReactDOM.findDOMNode(this) instanceof global.SVGElement) {
+ if(typeof SVGElement !== 'undefined' && ReactDOM.findDOMNode(this) instanceof SVGElement) {
196
this.setState({ isElementSVG: true });
197
}
198
package.json
@@ -69,4 +69,4 @@
69
"dependencies": {
70
"classnames": "^2.2.5"
71
72
-}
+}
0 commit comments