Plugin Directory

Changeset 1413906


Ignore:
Timestamp:
05/10/2016 02:27:14 PM (10 years ago)
Author:
pwron
Message:

Fixed home page

Location:
wp-back-button/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • wp-back-button/trunk/css/style.css

    r1403131 r1413906  
    1 
     1.home .backButton{
     2    display:none !important;
     3}
    24.backButton.Right{
    35    text-align: right;
  • wp-back-button/trunk/js/wp-backbutton.js

    r1403131 r1413906  
    22       
    33    $(document).ready(function() {
    4         $('.backButton.Right').css("right" , "0px");
    5         $('.backButton.Left').css("left" , "0px");
     4        if($(document.body)[0].scrollHeight > $(window).height() == false){
     5            $('.backButton.Right').css("right" , "0px");
     6            $('.backButton.Left').css("left" , "0px");
     7        }
    68    });
    79       
Note: See TracChangeset for help on using the changeset viewer.