- Fix (regression): Favicon setting

master
Brett Zamir 2018-05-30 08:54:56 +08:00
parent 9f4eedc419
commit 2ddc78d525
7 changed files with 7 additions and 7 deletions

2
dist/index-es.js vendored
View File

@ -25323,7 +25323,7 @@ if (!$$b.loadingStylesheets.includes(stylesheet)) {
}
var favicon = 'images/logo.png';
if ($$b.loadingStylesheets.some(function (item) {
return Array.isArray(item) && item[0] === favicon;
return !Array.isArray(item) || item[0] !== favicon;
})) {
$$b.loadingStylesheets.push([favicon, { favicon: true }]);
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

2
dist/index-umd.js vendored
View File

@ -25329,7 +25329,7 @@
}
var favicon = 'images/logo.png';
if ($$b.loadingStylesheets.some(function (item) {
return Array.isArray(item) && item[0] === favicon;
return !Array.isArray(item) || item[0] !== favicon;
})) {
$$b.loadingStylesheets.push([favicon, { favicon: true }]);
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -54,7 +54,7 @@ if (!$.loadingStylesheets.includes(stylesheet)) {
}
const favicon = 'images/logo.png';
if ($.loadingStylesheets.some((item) => {
return Array.isArray(item) && item[0] === favicon;
return !Array.isArray(item) || item[0] !== favicon;
})) {
$.loadingStylesheets.push([favicon, {favicon: true}]);
}