prevent flickering on pinned / favourite menus
This commit is contained in:
parent
ed7d9cd9cf
commit
409368640c
Binary file not shown.
@ -1620,7 +1620,11 @@ function setFavRepoSearch() {
|
||||
function getCategories() {
|
||||
post({action:'get_categories'},function(result) {
|
||||
$("#category_list").html(result.categories);
|
||||
$(".caMenuItem").addClass("caMenuEnabled").removeClass("caMenuDisabled");
|
||||
$(".caMenuItem").each(function() {
|
||||
if ( ! ( $(this).hasClass("favouriteRepo") || $(this).hasClass("caPinnedMenu") ) ) {
|
||||
$(this).addClass("caMenuEnabled").removeClass("caMenuDisabled");
|
||||
}
|
||||
});
|
||||
$(".clearSearch").removeClass("caMenuEnabled").addClass("caMenuDisabled");
|
||||
setFavRepoSearch();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user