Created
September 19, 2010 17:26
-
-
Save matsuu/586949 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- ime.js.orig 2008-10-21 12:05:50.000000000 +0900 | |
+++ ime.js 2010-09-20 02:25:31.065991013 +0900 | |
@@ -22,7 +22,7 @@ | |
} | |
function getComputedStyle(element, pseudo){ | |
return { | |
- currentStyle : element.currentStyle, | |
+ currentStyle : element.currentStyle || {}, | |
getPropertyValue : function(prop){ | |
return this.currentStyle[capitalize(prop)]; | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment