mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-16 02:02:55 -07:00
Fixed #162
This commit is contained in:
parent
84edd6636d
commit
ffbb3d9a44
1 changed files with 31 additions and 25 deletions
|
@ -130,7 +130,12 @@
|
||||||
|
|
||||||
@if (!string.IsNullOrEmpty(Model.QualityProfile))
|
@if (!string.IsNullOrEmpty(Model.QualityProfile))
|
||||||
{
|
{
|
||||||
|
|
||||||
<text>
|
<text>
|
||||||
|
|
||||||
|
preLoad();
|
||||||
|
|
||||||
|
function preLoad() {
|
||||||
var qualitySelected = @Model.QualityProfile;
|
var qualitySelected = @Model.QualityProfile;
|
||||||
if (!qualitySelected) {
|
if (!qualitySelected) {
|
||||||
return;
|
return;
|
||||||
|
@ -156,6 +161,7 @@
|
||||||
generateNotify("Something went wrong!", "danger");
|
generateNotify("Something went wrong!", "danger");
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
}
|
||||||
</text>
|
</text>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue