mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-04 18:55:56 +02:00
refactoring
This commit is contained in:
@@ -60,8 +60,6 @@
|
||||
? `?salt=${localStorage.getItem('salt')}`
|
||||
: '';
|
||||
|
||||
const head = document.getElementsByTagName('head')[0];
|
||||
|
||||
const script = document.createElement('script');
|
||||
script.setAttribute('src', `/assets/app.${v}.js${salt}`);
|
||||
script.setAttribute('async', 'true');
|
||||
@@ -70,7 +68,7 @@
|
||||
renderError('APP_FETCH_FAILED');
|
||||
checkUpdate();
|
||||
});
|
||||
head.appendChild(script);
|
||||
document.head.appendChild(script);
|
||||
//#endregion
|
||||
|
||||
//#region Theme
|
||||
|
||||
Reference in New Issue
Block a user