Skip to content

Commit

Permalink
* fix way to get token on hatenabookmark
Browse files Browse the repository at this point in the history
  • Loading branch information
Constellation committed Jul 28, 2009
1 parent a36a121 commit 4e1be69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xpi/chrome/content/library/20_model.js
Original file line number Diff line number Diff line change
Expand Up @@ -1836,7 +1836,7 @@ models.register(update({
case 'changed':
var self = this;
return request(HatenaBookmark.POST_URL).addCallback(function(res){
if(res.responseText.extract(/new Hatena.Bookmark.User\('.*?',\s.*'(.*?)'\)/))
if(res.responseText.extract(/new Hatena.Bookmark.User\('.*?',\s.*'(.*?)', /))
return self.token = RegExp.$1;
});
}
Expand Down

0 comments on commit 4e1be69

Please sign in to comment.