Ver Mensaje Individual
  #4 (permalink)  
Antiguo 24/03/2015, 08:41
Avatar de fede5426
fede5426
 
Fecha de Ingreso: diciembre-2014
Ubicación: Córdoba
Mensajes: 446
Antigüedad: 9 años, 5 meses
Puntos: 208
Respuesta: Evitar que una función se repita

Código Javascript:
Ver original
  1. $('.circle-image, .square-title').click(function(e){
  2.                 e.preventDefault();
  3.                 $("body", "html").stop(true).animate({
  4.                         scrollTop: $(this).offset().top
  5.                 }, 600);
  6.         });

Probalo asi