diff --git a/NzbDrone.Api/Frontend/StaticResourceMapper.cs b/NzbDrone.Api/Frontend/StaticResourceMapper.cs index d269d643c..885be79d1 100644 --- a/NzbDrone.Api/Frontend/StaticResourceMapper.cs +++ b/NzbDrone.Api/Frontend/StaticResourceMapper.cs @@ -1,3 +1,4 @@ +using System; using System.IO; using System.Linq; using NzbDrone.Common; @@ -30,6 +31,11 @@ public bool CanHandle(string resourceUrl) return false; } + if (resourceUrl.StartsWith("/mediacover", StringComparison.CurrentCultureIgnoreCase)) + { + return false; + } + return Extensions.Any(resourceUrl.EndsWith); } } diff --git a/UI/Mixins/AutoComplete.js b/UI/Mixins/AutoComplete.js index f678e2135..00f43efe3 100644 --- a/UI/Mixins/AutoComplete.js +++ b/UI/Mixins/AutoComplete.js @@ -15,7 +15,8 @@ define(['app'], function () { } }); }, - minLength: 3 + minLength: 3, + items :20 }); };