File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -65,27 +65,11 @@ $(document).ready(function () {
6565 $ ( window ) . resize ( ) ;
6666 } ) ;
6767
68- // Gestione click sulla sidebar per evitare chiusura
69- $ ( ".control-sidebar" ) . on ( "click" , function ( e ) {
70- const target = $ ( e . target ) ;
71- if ( largeScreen && $ ( ".main-footer" ) . hasClass ( "with-control-sidebar" ) ) {
72- if ( e . target . tagName === 'A' ) {
73- toggleControlSidebar ( ) ;
74- } else if ( e . target . tagName === 'LI' && target . find ( "a" ) . hasClass ( "disabled" ) ) {
75- toggleControlSidebar ( ) ;
76- }
77- }
78- } ) ;
79-
8068 // Barra plugin laterale disabilitata per schermi piccoli
8169 if ( largeScreen && ! globals . collapse_plugin_sidebar ) {
8270 pluginToggle . click ( ) ;
8371 }
8472
85- $ ( '.control-sidebar .nav-item > a' ) . on ( "click" , function ( ) {
86- toggleControlSidebar ( ) ;
87- } ) ;
88-
8973 $ ( 'a[data-toggle="tab"]' ) . on ( 'shown.bs.tab' , function ( e ) {
9074 window . dispatchEvent ( new Event ( 'resize' ) ) ;
9175 } ) ;
@@ -98,4 +82,4 @@ function toggleControlSidebar() {
9882 const sidebar = $ ( ".control-sidebar" ) ;
9983
10084 sidebar . toggleClass ( "control-sidebar-open" ) ;
101- }
85+ }
You can’t perform that action at this time.
0 commit comments