mirror of https://github.com/gogits/gogs.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
414 B
17 lines
414 B
11 years ago
|
var Gogits = {};
|
||
|
|
||
|
(function($){
|
||
|
Gogits.showTooltips = function(){
|
||
|
$("body").tooltip({
|
||
|
selector: "[data-toggle=tooltip]"
|
||
|
//container: "body"
|
||
|
});
|
||
|
};
|
||
|
Gogits.showTab = function (selector, index) {
|
||
|
if (!index) {
|
||
|
index = 0;
|
||
|
}
|
||
|
$(selector).tab("show");
|
||
|
$(selector).find("li:eq(" + index + ") a").tab("show");
|
||
|
}
|
||
|
})(jQuery);
|