mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 16:14:40 +00:00
ui: cleanups in previous
This commit is contained in:
parent
482492b8b1
commit
e8c38e6710
@ -106,14 +106,15 @@ $(document).ready(function () {
|
||||
var events = {
|
||||
mouseenter: function() {
|
||||
$("#navigation.col-sidebar-left").css("width", "415px");
|
||||
if ($(this).next("div").hasClass("in")) {
|
||||
} else if ($(this).next().is("a")) {
|
||||
$(this).nextAll("a").prevAll("a").addClass("collapsed").attr("aria-expanded","false");
|
||||
$(this).nextAll("div").prevAll("div").removeClass("in").attr("aria-expanded","false");
|
||||
} else {
|
||||
$(this).trigger("click");
|
||||
}
|
||||
},
|
||||
if ($(this).next("div").hasClass("in")) {
|
||||
/* no action needed */
|
||||
} else if ($(this).next().is("a")) {
|
||||
$(this).nextAll("a").prevAll("a").addClass("collapsed").attr("aria-expanded","false");
|
||||
$(this).nextAll("div").prevAll("div").removeClass("in").attr("aria-expanded","false");
|
||||
} else {
|
||||
$(this).trigger("click");
|
||||
}
|
||||
},
|
||||
mouseleave: function() {
|
||||
$("#navigation.col-sidebar-left").css("width", "70px");
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user