Changeset 1378213
- Timestamp:
- 03/24/2016 07:40:52 PM (10 years ago)
- File:
-
- 1 edited
-
wp-back-button/trunk/js/wp-backbutton.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
wp-back-button/trunk/js/wp-backbutton.js
r1378209 r1378213 5 5 6 6 var boton = $('.backButton'); 7 var resta = $('#comments').height();8 if(resta == null){resta = $(document).height()/2;}9 7 10 if (win.height() + win.scrollTop() >= $(document).height() - resta) {8 if (win.height() + win.scrollTop() >= $(document).height()/2) { 11 9 boton.css("right" , "0px"); 12 10 }else{
Note: See TracChangeset
for help on using the changeset viewer.