fix string matching
This commit is contained in:
parent
a155bacf6d
commit
0154d49c9e
1 changed files with 1 additions and 1 deletions
|
@ -3195,7 +3195,7 @@ const app = new Vue({
|
||||||
|
|
||||||
function getMXMTrans(lang, vanity_id) {
|
function getMXMTrans(lang, vanity_id) {
|
||||||
try {
|
try {
|
||||||
if (lang != "disabled" && vanity_id != '') { // Mode 2 -> Trans
|
if (lang !== "disabled" && vanity_id !== '') { // Mode 2 -> Trans
|
||||||
let url = "https://api.cider.sh/v1/lyrics?vanityID=" + vanity_id +'&source=mxm&lang=' + lang;
|
let url = "https://api.cider.sh/v1/lyrics?vanityID=" + vanity_id +'&source=mxm&lang=' + lang;
|
||||||
let req = new XMLHttpRequest();
|
let req = new XMLHttpRequest();
|
||||||
req.overrideMimeType("application/json");
|
req.overrideMimeType("application/json");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue