mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-07 03:12:33 +01:00
fix #1733
This commit is contained in:
parent
848e716b08
commit
2292e75f9a
@ -378,8 +378,11 @@ var onPurgeClicked = function() {
|
|||||||
|
|
||||||
// If the cached version is purged, the installed version must be assumed
|
// If the cached version is purged, the installed version must be assumed
|
||||||
// to be obsolete.
|
// 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];
|
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 === '' ) {
|
if ( typeof entry.homeURL !== 'string' || entry.homeURL === '' ) {
|
||||||
li.descendants('span.status.new').css('display', '');
|
li.descendants('span.status.new').css('display', '');
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user