mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-05 08:34:30 +00:00
prototype.js: Fix handling of opacity in IE
This commit is contained in:
Vendored
+1
-1
@@ -3157,7 +3157,7 @@ Ajax.PeriodicalUpdater = Class.create(Ajax.Base, {
|
||||
var filter = Element.getStyle(element, 'filter');
|
||||
if (filter.length === 0) return 1.0;
|
||||
var match = (filter || '').match(/alpha\(opacity=(.*)\)/);
|
||||
if (match[1]) return parseFloat(match[1]) / 100;
|
||||
if (match && match[1]) return parseFloat(match[1]) / 100;
|
||||
return 1.0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user