forked from forgejo/forgejo
Make use of Vue more universal (#2318)
This commit is contained in:
parent
9e9e1e0e52
commit
f3486360d2
2 changed files with 4 additions and 4 deletions
|
@ -1568,7 +1568,7 @@ $(document).ready(function () {
|
|||
initWebhook();
|
||||
initAdmin();
|
||||
initCodeView();
|
||||
initDashboardSearch();
|
||||
initVueApp();
|
||||
initTeamSettings();
|
||||
|
||||
// Repo clone url.
|
||||
|
@ -1758,8 +1758,8 @@ function initVueComponents(){
|
|||
})
|
||||
}
|
||||
|
||||
function initDashboardSearch() {
|
||||
var el = document.getElementById('dashboard-repo-search');
|
||||
function initVueApp() {
|
||||
var el = document.getElementById('app');
|
||||
if (!el) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue