Commit e49703b6 authored by Martyn Smith's avatar Martyn Smith Committed by Martyn Smith
Browse files

[UPSTREAM] Fix for MochiKit's key signals in FF

parent a802ef6b
......@@ -4119,7 +4119,12 @@ k.string=String.fromCharCode(k.code);
if(this._event.keyCode&&typeof (this._event.charCode)=="undefined"){
k.code=this._event.keyCode;
k.string=String.fromCharCode(k.code);
} else if (this._event.keyCode &&
this._event.charCode == 0) {
k.code = this._event.keyCode;
k.string = String.fromCharCode(k.code);
}
}
return k;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment