Skip to content

Instantly share code, notes, and snippets.

@matsuu
Created September 19, 2010 17:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save matsuu/586949 to your computer and use it in GitHub Desktop.
Save matsuu/586949 to your computer and use it in GitHub Desktop.
--- 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