mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
New admin menu
This commit is contained in:
parent
29cd9d0132
commit
89fb059aaa
35 changed files with 209 additions and 170 deletions
|
|
@ -70,6 +70,19 @@ $(function() {
|
|||
$(".comment-reply").hide();
|
||||
$(".user-details-popover").popover();
|
||||
$("#comments-div").hide();
|
||||
|
||||
$( ".myAccordion" ).mouseover(function() {
|
||||
if(!$(this).find("ul").is(':visible')){
|
||||
//Hide all except this
|
||||
$siblings = $(this).siblings().find("ul:visible");
|
||||
$siblings.hide();
|
||||
$siblings.parent().find('span:nth-child(2)').toggleClass("glyphicon-chevron-down glyphicon-chevron-right");
|
||||
|
||||
//show this
|
||||
$(this).find("ul").show();
|
||||
$(this).find('span:nth-child(2)').toggleClass("glyphicon-chevron-down glyphicon-chevron-right");
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
function word_count(text, divId, maxcount) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue