|
|
|
@@ -44,8 +44,9 @@ |
|
|
|
let URL = AppSubUrl + '/api/v1/repos/search?sort=updated&order=desc&uid=true&q=&page=1&limit=10&mode= '; |
|
|
|
|
|
|
|
$.getJSON(URL, (result, _textStatus, request) => { |
|
|
|
const count = request.getResponseHeader('X-Total-Count'); |
|
|
|
if (count != 0){ |
|
|
|
const counts_pro = request.getResponseHeader('X-Total-Count'); |
|
|
|
console.log("count:",counts_pro) |
|
|
|
if (counts_pro != 0){ |
|
|
|
document.getElementById("default_page").style.display = "none"; |
|
|
|
document.getElementById("activity_cont").style.display = "none" |
|
|
|
} |
|
|
|
|