aboutsummaryrefslogtreecommitdiffstats
path: root/public/js/app.js
diff options
context:
space:
mode:
authorFuXiaoHei <fuxiaohei@hexiaz.com>2014-03-13 14:08:49 +0800
committerFuXiaoHei <fuxiaohei@hexiaz.com>2014-03-13 14:08:49 +0800
commita8d8e7256249cb280b39d114dd6d6eadd4fec187 (patch)
tree453006dbb24bbe88da2c76c4e00017daf6aa2f28 /public/js/app.js
parent3005a0f13e8861c79e3ea84ce480124fbc3c181d (diff)
downloadgitea-a8d8e7256249cb280b39d114dd6d6eadd4fec187.tar.gz
gitea-a8d8e7256249cb280b39d114dd6d6eadd4fec187.zip
single repository setting page ui
Diffstat (limited to 'public/js/app.js')
-rw-r--r--public/js/app.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/public/js/app.js b/public/js/app.js
index a789122b1b..69d21020e8 100644
--- a/public/js/app.js
+++ b/public/js/app.js
@@ -41,9 +41,8 @@ var Gogits = {
});
};
Gogits.initTabs = function () {
- var $tabs = $('[data-toggle=tab]');
- $tabs.tab("show");
- $tabs.find("li:eq(" + index + ") a").tab("show");
+ var $tabs = $('[data-init=tabs]');
+ $tabs.find("li:eq(0) a").tab("show");
}
})(jQuery);
@@ -69,6 +68,7 @@ var Gogits = {
function initCore() {
Gogits.initTooltips();
+ Gogits.initTabs();
Gogits.initModals();
}