This commit is contained in:
gorhill 2016-06-19 13:26:02 -04:00
parent 848e716b08
commit 2292e75f9a
1 changed files with 4 additions and 1 deletions

View File

@ -378,8 +378,11 @@ var onPurgeClicked = function() {
// If the cached version is purged, the installed version must be assumed
// to be obsolete.
// https://github.com/gorhill/uBlock/issues/1733
// An external filter list must not be marked as obsolete, they will always
// be fetched anyways if there is no cached copy.
var entry = listDetails.current && listDetails.current[href];
if ( entry && entry.off !== true ) {
if ( entry && entry.off !== true && /^[a-z]+:\/\//.test(href) === false ) {
if ( typeof entry.homeURL !== 'string' || entry.homeURL === '' ) {
li.descendants('span.status.new').css('display', '');
} else {