Sfoglia il codice sorgente

20220901 更新 custom.js

LuluFJ.Ho 2 anni fa
parent
commit
f5bded2a9d
1 ha cambiato i file con 3 aggiunte e 4 eliminazioni
  1. 3
    4
      public/assets/js/custom.js

+ 3
- 4
public/assets/js/custom.js Vedi File

1
-
2
-jQuery(window).load(function() {
1
+jQuery(window).on('load', function() {
3
    
2
    
4
    "use strict";
3
    "use strict";
5
    
4
    
14
    "use strict";
13
    "use strict";
15
    
14
    
16
    // Toggle Left Menu
15
    // Toggle Left Menu
17
-   jQuery('.leftpanel .nav-parent > a').live('click', function() {
16
+   jQuery('.leftpanel .nav-parent').on('click', '> a', function() {
18
       
17
       
19
       var parent = jQuery(this).parent();
18
       var parent = jQuery(this).parent();
20
       var sub = parent.find('> ul');
19
       var sub = parent.find('> ul');
62
    jQuery('.tooltips').tooltip({ container: 'body'});
61
    jQuery('.tooltips').tooltip({ container: 'body'});
63
    
62
    
64
    // Popover
63
    // Popover
65
-   jQuery('.popovers').popover();
64
+   // jQuery('.popovers').popover();
66
    
65
    
67
    // Close Button in Panels
66
    // Close Button in Panels
68
    jQuery('.panel .panel-close').click(function(){
67
    jQuery('.panel .panel-close').click(function(){