Format code

pull/2487/head
jmontoyaa 9 years ago
parent a14c022bfe
commit a504820fdd
  1. 4
      main/template/default/layout/header.js.tpl

@ -243,13 +243,13 @@ $(window).resize(function() {
$(document).scroll(function() { $(document).scroll(function() {
var valor = $('body').outerHeight() - 700; var valor = $('body').outerHeight() - 700;
if ($(this).scrollTop() > 100) { if ($(this).scrollTop() > 100) {
$('.bottom_actions').addClass('bottom_actions_fixed'); $('.bottom_actions').addClass('bottom_actions_fixed');
} else { } else {
$('.bottom_actions').removeClass('bottom_actions_fixed'); $('.bottom_actions').removeClass('bottom_actions_fixed');
} }
if ($(this).scrollTop() > valor) { if ($(this).scrollTop() > valor) {
$('.bottom_actions').removeClass('bottom_actions_fixed'); $('.bottom_actions').removeClass('bottom_actions_fixed');
} else { } else {

Loading…
Cancel
Save