Browse Source

#436

nested x_panel's colapse problem
AndreiCN 7 years ago
parent
commit
e947f4c882
3 changed files with 2 additions and 2 deletions
  1. 1 1
      build/js/custom.js
  2. 0 0
      build/js/custom.min.js
  3. 1 1
      src/js/custom.js

+ 1 - 1
build/js/custom.js

@@ -155,7 +155,7 @@ $(document).ready(function() {
     $('.collapse-link').on('click', function() {
         var $BOX_PANEL = $(this).closest('.x_panel'),
             $ICON = $(this).find('i'),
-            $BOX_CONTENT = $BOX_PANEL.find('.x_content');
+            $BOX_CONTENT = $BOX_PANEL.find('.x_content').eq(0);
 
         // fix for some div with hardcoded fix class
         if ($BOX_PANEL.attr('style')) {

File diff suppressed because it is too large
+ 0 - 0
build/js/custom.min.js


+ 1 - 1
src/js/custom.js

@@ -120,7 +120,7 @@ $(document).ready(function() {
     $('.collapse-link').on('click', function() {
         var $BOX_PANEL = $(this).closest('.x_panel'),
             $ICON = $(this).find('i'),
-            $BOX_CONTENT = $BOX_PANEL.find('.x_content');
+            $BOX_CONTENT = $BOX_PANEL.find('.x_content').eq(0);
 
         // fix for some div with hardcoded fix class
         if ($BOX_PANEL.attr('style')) {

Some files were not shown because too many files changed in this diff