Commit d79b229bf72ed743cdf0cd1e9779ae3cdcb0ca1f
1 parent
5a03be71
Exists in
master
and in
2 other branches
fixed error of multiple most accessed lists
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
dashboards/static/dashboards/js/behavior.js
... | ... | @@ -119,7 +119,8 @@ var selectors_options = { |
119 | 119 | }, |
120 | 120 | deleteChildren: function(e){ |
121 | 121 | var most_accessed_list = $(e).next(); |
122 | - $(most_accessed_list).slideUp({easing: 'easeInOutSine'}, 1200); | |
122 | + $(most_accessed_list).slideUp({easing: 'easeInOutSine'}, 1200); | |
123 | + $(most_accessed_list).remove(); | |
123 | 124 | $(e).removeAttr("opened"); //remove attribute so it can call API again |
124 | 125 | }, |
125 | 126 | }; | ... | ... |