google to mastodon providing api

This commit is contained in:
cutls 2022-12-11 17:56:05 +09:00
parent 9af6c5536a
commit 89e0109cba

View File

@ -602,7 +602,7 @@ function staCopy(id) {
function trans(tar, to, elem) { function trans(tar, to, elem) {
var id = elem.parents('.cvo').attr('toot-id') var id = elem.parents('.cvo').attr('toot-id')
//alert(id) //alert(id)
$('#toot-this .additional').text('Loading...(Powered by Google Translate)') $('#toot-this .additional').text('Loading...(Powered by Mastodon API)')
var domain = localStorage.getItem('domain_' + acct_id) var domain = localStorage.getItem('domain_' + acct_id)
if (localStorage.getItem('mode_' + domain) == 'misskey') { if (localStorage.getItem('mode_' + domain) == 'misskey') {
return false return false