Plugin Directory

Changeset 687082


Ignore:
Timestamp:
03/25/2013 05:27:25 PM (13 years ago)
Author:
doodlebee
Message:

Ooops. Accidentally removed some php variables - this is the fix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • jquery-expandable-comments/trunk/js/bb-toggle-kids.php

    r687061 r687082  
    2525
    2626      // change the text
    27       $(this).text( $(this).text() == 'Hide Replies' ? 'Show Replies' : 'Hide Replies');
     27      $(this).text( $(this).text() == '<?php echo $hide; ?>' ? '<?php echo $show; ?>' : '<?php echo $hide; ?>');
    2828     
    2929      var $nextDiv = $(this).next();
     
    3232      // animate the vibility of the children
    3333      if ($visibleSiblings.length == 0 ) {
    34           $visibleSiblings.slideToggle('slow', 'swing');       
     34          $visibleSiblings.slideToggle('<?php echo $toggle_down; ?>', '<?php echo $easing; ?>');       
    3535      } else {
    36           $nextDiv.slideToggle('fast', 'swing');
     36          $nextDiv.slideToggle('<?php echo $toggle_up; ?>', '<?php echo $easing; ?>');
    3737      }
    3838  });
Note: See TracChangeset for help on using the changeset viewer.