forked from Trustie/forgeplus
js zip
This commit is contained in:
parent
d9c1c3d3a2
commit
6d4fb8df34
|
|
@ -6,7 +6,7 @@ $(document).on('turbolinks:load', function(){
|
|||
});
|
||||
|
||||
var sidebarController = $('#sidebar').data('current-controller');
|
||||
if (sidebarController.length > 0) {
|
||||
if (sidebarController && sidebarController.length > 0) {
|
||||
$('#sidebar a.active').removeClass('active');
|
||||
$('#sidebar ul.collapse.show').removeClass('show');
|
||||
var activeLi = $('#sidebar a[data-controller="' + sidebarController + '"]');
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Binary file not shown.
Loading…
Reference in New Issue