mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-23 18:54:39 +02:00
Make use of Vue more universal (#2318)
This commit is contained in:
1 parent
9e9e1e0e52
commit
f3486360d2
2 files changed
+4
-4
No files matched your search
+3
-3
@@ -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