Plugin Directory

Changeset 1378213


Ignore:
Timestamp:
03/24/2016 07:40:52 PM (10 years ago)
Author:
pwron
Message:

fixed height

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wp-back-button/trunk/js/wp-backbutton.js

    r1378209 r1378213  
    55           
    66          var boton = $('.backButton');
    7           var resta = $('#comments').height();
    8           if(resta == null){resta = $(document).height()/2;}
    97           
    10           if (win.height() + win.scrollTop() >= $(document).height() - resta) {
     8          if (win.height() + win.scrollTop() >= $(document).height()/2) {
    119                 boton.css("right" , "0px");
    1210           }else{
Note: See TracChangeset for help on using the changeset viewer.