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.
2 parents 4b9fe6f + 30b11b7 commit 4ce0b0fCopy full SHA for 4ce0b0f
src/prototype/dom/dom.js
@@ -3000,7 +3000,7 @@
3000
var filter = Element.getStyle(element, 'filter');
3001
if (filter.length === 0) return 1.0;
3002
var match = (filter || '').match(/alpha\(opacity=(.*)\)/);
3003
- if (match[1]) return parseFloat(match[1]) / 100;
+ if (match && match[1]) return parseFloat(match[1]) / 100;
3004
return 1.0;
3005
}
3006
@@ -3478,4 +3478,4 @@
3478
if (window.attachEvent)
3479
window.attachEvent('onunload', destroyCache_IE);
3480
3481
-})(this);
+})(this);
0 commit comments