move logic
This commit is contained in:
parent
0fcda21c33
commit
11d2493083
1 changed files with 1 additions and 1 deletions
|
@ -3167,9 +3167,9 @@ const app = new Vue({
|
||||||
}
|
}
|
||||||
|
|
||||||
function getMXMTrans(lang, vanity_id) {
|
function getMXMTrans(lang, vanity_id) {
|
||||||
lang = 'english';
|
|
||||||
try {
|
try {
|
||||||
if (lang != "disabled" && vanity_id != '') { // Mode 2 -> Trans
|
if (lang != "disabled" && vanity_id != '') { // Mode 2 -> Trans
|
||||||
|
lang = "english"
|
||||||
fetch('https://www.musixmatch.com/lyrics/' + vanity_id +'/translation/' + lang, {
|
fetch('https://www.musixmatch.com/lyrics/' + vanity_id +'/translation/' + lang, {
|
||||||
method: 'GET',
|
method: 'GET',
|
||||||
headers: {
|
headers: {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue