From c47b5c48e766ef8c1a608ea0a2f3e66b71cd83e1 Mon Sep 17 00:00:00 2001 From: anekos Date: Wed, 7 Jul 2010 01:33:24 +0000 Subject: 迷い込んだタブさんを抹殺 git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@37907 d0d07461-0603-4401-acd4-de1884942a52 --- twittperator.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/twittperator.js b/twittperator.js index 1ab1d4e..c425e1a 100755 --- a/twittperator.js +++ b/twittperator.js @@ -1036,9 +1036,9 @@ function xmlhttpRequest(options){ let xhr = new XMLHttpRequest(); xhr.open(options.method, options.url, true); if (typeof options.onload == "function"){ - xhr.onload = function(){ - options.onload(xhr); - } + xhr.onload = function(){ + options.onload(xhr); + } } xhr.send(null); } -- cgit v1.2.3