mirror of
https://github.com/NoCrypt/migu.git
synced 2026-04-21 00:22:08 +00:00
fix popup saying undefined
This commit is contained in:
parent
dc813fcdf9
commit
e166e79b01
2 changed files with 3 additions and 3 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "Miru",
|
"name": "Miru",
|
||||||
"version": "0.12.4",
|
"version": "0.12.5",
|
||||||
"author": "ThaUnknown_ <ThaUnknown@users.noreply.github.com>",
|
"author": "ThaUnknown_ <ThaUnknown@users.noreply.github.com>",
|
||||||
"main": "src/index.js",
|
"main": "src/index.js",
|
||||||
"homepage": "https://github.com/ThaUnknown/miru#readme",
|
"homepage": "https://github.com/ThaUnknown/miru#readme",
|
||||||
|
|
|
||||||
|
|
@ -29,7 +29,7 @@
|
||||||
addToast({
|
addToast({
|
||||||
text: 'Failed fetching RSS!<br>' + error,
|
text: 'Failed fetching RSS!<br>' + error,
|
||||||
title: 'Search Failed',
|
title: 'Search Failed',
|
||||||
alertType: 'danger'
|
type: 'danger'
|
||||||
})
|
})
|
||||||
console.error(error)
|
console.error(error)
|
||||||
})
|
})
|
||||||
|
|
@ -79,7 +79,7 @@
|
||||||
const nodes = (await getRSSContent(url)).querySelectorAll('item')
|
const nodes = (await getRSSContent(url)).querySelectorAll('item')
|
||||||
if (!nodes.length) {
|
if (!nodes.length) {
|
||||||
addToast({
|
addToast({
|
||||||
content: `Couldn't find torrent for ${media.title.userPreferred} Episode ${parseInt(episode)}! Try specifying a torrent manually.`,
|
text: `Couldn't find torrent for ${media.title.userPreferred} Episode ${parseInt(episode)}! Try specifying a torrent manually.`,
|
||||||
title: 'Search Failed',
|
title: 'Search Failed',
|
||||||
type: 'danger'
|
type: 'danger'
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue