- Fix (regression): Favicon setting

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

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}]);
}