Skip to content
Browse files

set locale parameter in locale function

  • Loading branch information...
1 parent 40ace19 commit c5c221375ea63eb58f16874dc55ad2bef87d72f3 @yaph committed Feb 7, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/jquery.twitter.js
View
4 src/jquery.twitter.js
@@ -65,7 +65,7 @@ var Twitter = {
return this;
},
locale: function(_locale) {
- order = _order
+ locale = '&locale=' + _locale
return this;
},
toQuery: function(){
@@ -80,7 +80,7 @@ var Twitter = {
$.ajax({
url: searchUrl + publicMethods.toQuery(),
success: function(data){
- if(data.error){
+ if(data.error){
error(data.error, publicMethods);
return;
}

0 comments on commit c5c2213

Please sign in to comment.
Something went wrong with that request. Please try again.