Instantly share code, notes, and snippets.

Embed
What would you like to do?
--- 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