Plugin Directory

Changeset 1032690


Ignore:
Timestamp:
11/25/2014 08:48:05 PM (11 years ago)
Author:
tjsantilo
Message:

collapse feature, updated style

Location:
because/trunk
Files:
2 added
5 edited

Legend:

Unmodified
Added
Removed
  • because/trunk/public/assets/js/public.js

    r1032678 r1032690  
    161161            var $comment_box_offset = $('#respond').offset().top + 'px';
    162162  $("html, body").animate({ scrollTop: $comment_box_offset  }, 450);
    163 }, 2000);
     163}, 100);
    164164
    165165//$('#social_polling_see_results_wrapper').html('You Already Voted');
     
    510510   
    511511
    512     $(document).on('click', '.social_share', function(){
    513         // alert('share click');
    514         $(this).after('<p>ssdkflnsdflknsdklfnsdkfns</p>')
    515         return false;
    516     })
    517 
    518     $(document).on('click', '.comment-collapse-button', function(){
    519         // $(this)
    520         if($(this).parents('.comment-body').children('.comment-collapse').css('display')==='block'){
    521             $(this).parents('.comment-body').children('.comment-collapse').css('display','none');
    522             $(this).parents('.comment-body').siblings().css('display','none');
    523             $(this).children('a').text('+');
    524             $(this).siblings('.comment-author').css('opacity','.4');
    525         }
    526         else{
    527             $(this).parents('.comment-body').children('.comment-collapse').css('display','block');
    528             $(this).parents('.comment-body').siblings().css('display','block');
    529             $(this).children('a').text('-');
    530             $(this).siblings('.comment-author').css('opacity','1');
    531         }
    532        
    533         // if ($(this))
    534         return false;
    535     })
     512   
    536513
    537514   
  • because/trunk/public/includes/class-sp_comments.php

    r1032678 r1032690  
    15421542
    15431543}//CLASS spComments
     1544
     1545add_filter('comment_text', 'comment_vote_choice');
    15441546
    15451547function comment_vote_choice( $comment_text){
  • because/trunk/social-polling.php

    r1032684 r1032690  
    3434
    3535<<<<<<< .mine
    36  * Version:           1.4.5
     36 * Version:           1.5.0
    3737=======
    38  * Version:           1.4.5
     38 * Version:           1.5.0
    3939>>>>>>> .r969865
    4040
Note: See TracChangeset for help on using the changeset viewer.