1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-09-02 09:09:38 +02:00
This commit is contained in:
gorhill 2016-06-19 13:26:02 -04:00
parent 848e716b08
commit 2292e75f9a

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 {