single repository setting page ui
This commit is contained in:
parent
3005a0f13e
commit
a8d8e72562
10 changed files with 86 additions and 44 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue