Skip to content

Commit 2893cee

Browse files
author
Weblate
committed
Merge remote-tracking branch 'origin/develop' into develop
2 parents 5e7faf3 + bbcf74f commit 2893cee

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎src/vector/index.js‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,7 @@ async function loadApp() {
302302
const theme = configJson.default_theme || 'light';
303303
for (let i = 0; (a = document.getElementsByTagName("link")[i]); i++) {
304304
const href = a.getAttribute("href");
305+
if (!href) continue;
305306
// shouldn't we be using the 'title' tag rather than the href?
306307
const match = href.match(/^bundles\/.*\/theme-(.*)\.css$/);
307308
if (match) {

0 commit comments

Comments
 (0)