aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoranekos2010-07-07 01:33:24 +0000
committeranekos2010-07-07 01:33:24 +0000
commitc47b5c48e766ef8c1a608ea0a2f3e66b71cd83e1 (patch)
tree56c5fa54d777e58618cdc3852791dfc404e927a2
parent8034ba15e4325c326720ff16e7a602e2c995e7a0 (diff)
downloadvimperator-plugins-c47b5c48e766ef8c1a608ea0a2f3e66b71cd83e1.tar.bz2
迷い込んだタブさんを抹殺
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@37907 d0d07461-0603-4401-acd4-de1884942a52
-rwxr-xr-xtwittperator.js6
1 files 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);
}