Skip to content

Commit

Permalink
GitHubからパッチをインストールできなくなっている問題を修正
Browse files Browse the repository at this point in the history
  • Loading branch information
to committed Apr 28, 2011
1 parent dd51ab0 commit daa853d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions xpi/chrome/content/library/31_Tombloo.Service.actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@ Tombloo.Service.actions = new Repository([

// ファイルタイプを取得しチェックする
var url;
return request(ctx.linkURL, {
method : 'HEAD',
}).addCallback(function(res){
return request(ctx.linkURL).addCallback(function(res){
if(!/^text\/.*(javascript|plain)/.test(res.channel.contentType)){
alert(getMessage('message.install.invalid'));
return;
Expand Down

0 comments on commit daa853d

Please sign in to comment.