summaryrefslogtreecommitdiffstats
path: root/public
diff options
context:
space:
mode:
authorMorlinest <Morlinest@users.noreply.github.com>2017-08-17 18:04:39 +0200
committerLauris BH <lauris@nix.lv>2017-08-17 19:04:39 +0300
commitf3486360d231fd6fcc5b620fc0f4e5e0325d858d (patch)
treecdca47d9833ca93b79cfde49b4ceb77512e6a604 /public
parent9e9e1e0e52e5afc24b74769ef7b94279f1cc67ef (diff)
downloadgitea-f3486360d231fd6fcc5b620fc0f4e5e0325d858d.tar.gz
gitea-f3486360d231fd6fcc5b620fc0f4e5e0325d858d.zip
Make use of Vue more universal (#2318)
Diffstat (limited to 'public')
-rw-r--r--public/js/index.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/public/js/index.js b/public/js/index.js
index 3152b2a5a4..169563a4ec 100644
--- a/public/js/index.js
+++ b/public/js/index.js
@@ -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;
}