mirror of
https://github.com/go-gitea/gitea
synced 2025-07-16 07:18:37 +00:00
Make use of Vue more universal (#2318)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user