weibo.js
authorChris <chris@roojs.com>
Tue, 21 Jan 2014 02:55:06 +0000 (10:55 +0800)
committerChris <chris@roojs.com>
Tue, 21 Jan 2014 02:55:06 +0000 (10:55 +0800)
weibo.js

index 02b6c9a..8220852 100644 (file)
--- a/weibo.js
+++ b/weibo.js
@@ -23,7 +23,7 @@ function run_weibo(u, p){
         if(document.location.pathname == '/login.php'){
             
             var event = document.createEvent("KeyboardEvent");
-            e.keyCode = 13;
+            event.keyCode = 13;
 
             event.initEvent("keydown", false, true);
             event.synthetic = true;