fix: linter issues

This commit is contained in:
K1ngfish3r
2026-04-23 01:04:42 +05:00
parent 5e195b7f53
commit 2396df38bb
111 changed files with 2738 additions and 2160 deletions
+5 -5
View File
@@ -8,8 +8,8 @@ class IndraTranslations implements Plugin.PluginBase {
id = 'indratranslations';
name = 'Indra Translations';
site = 'https://indratranslations.com';
version = '1.2.0';
// icon = 'src/en/indratranslations/icon.png';
version = '1.2.1';
icon = 'src/en/indratranslations/icon.png';
// customCSS = 'src/en/indratranslations/customCSS.css';
// (optional) Add these files to the repo and uncomment the lines above if you want an icon/custom CSS.
@@ -101,12 +101,12 @@ class IndraTranslations implements Plugin.PluginBase {
$(el).find('a[href*="/series/"]').first() ||
$(el).find('.tab-thumb a[href*="/series/"]').first();
const href = (a as any).attr?.('href') || '';
const href = a.attr?.('href') || '';
const title =
this.clean($(el).find('.post-title a').text()) ||
this.clean($(el).find('.tab-summary .post-title a').text()) ||
this.clean((a as any).attr?.('title')) ||
this.clean((a as any).text?.());
this.clean(a.attr?.('title')) ||
this.clean(a.text?.());
const img =
$(el).find('img').attr('data-src') ||