WordPress.org

Plugin Directory

Changeset 640187


Ignore:
Timestamp:
12/16/12 21:57:58 (16 months ago)
Author:
ozh
Message:

And I had also forgotten that file. Godammnit I hate working with SVN tags.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • yourls-wordpress-to-twitter/tags/1.6.1/res/yourls.js

    r398045 r640187  
    33jQuery(document).ready(function($){ 
    44 
    5     $('#div_h3_twitter, #div_h3_wordpress, #div_h3_buddypress').css('display','none'); 
    6      
    75    $('#advanced_template').css('display','none'); 
    86    $('#toggle_advanced_template') 
     
    119        .click(function(){$('#advanced_template').toggle(500);}); 
    1210     
    13     // Toggle setting sections 
    14     $('.h3_toggle').click(function(){ 
    15         var target = 'div_'+$(this).attr('id'); 
    16         if( $('#'+target).css('display') == 'none' ) { 
    17             $('.div_h3').slideUp(); 
    18             $('.h3_toggle').removeClass('expanded').addClass('folded'); 
    19             $('#'+target).slideDown(); 
    20             $(this).removeClass('folded').addClass('expanded'); 
    21         } else { 
    22             $('.h3_toggle').removeClass('expanded').addClass('folded'); 
    23             $(this).removeClass('folded').addClass('expanded'); 
    24         } 
    25     }); 
    26          
    2711    // stuff for the divs that have to toggle with their select element. 
    2812    $('.y_toggle').each(function(){ 
     
    4226        }); 
    4327    })   
    44      
    45     // Twitter sample copy 
    46     $('.tw_msg_sample').click(function(){ 
    47         $('#tw_msg').val($(this).html()); 
    48     }); 
    4928     
    5029    // Sanitize Windows paths 
Note: See TracChangeset for help on using the changeset viewer.