From 0fe91e083a0ed3bf6d37a192bcdc89645d2a6df5 Mon Sep 17 00:00:00 2001 From: jlukic Date: Thu, 22 Jan 2015 16:35:06 -0500 Subject: [PATCH] Remove error messages for repeated animations, too verbose --- src/definitions/modules/transition.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/definitions/modules/transition.js b/src/definitions/modules/transition.js index f3d9e2dec..186af5d01 100644 --- a/src/definitions/modules/transition.js +++ b/src/definitions/modules/transition.js @@ -136,7 +136,7 @@ $.fn.transition = function() { if(module.is.animating()) { if(settings.queue) { if(!settings.allowRepeats && module.has.direction() && module.is.occurring() && module.queuing !== true) { - module.error(error.repeated, settings.animation, $module); + module.debug('Animation is currently occurring, preventing queueing same animation', settings.animation); } else { module.queue(settings.animation); @@ -144,7 +144,7 @@ $.fn.transition = function() { return false; } else if(!settings.allowRepeats && module.is.occurring()) { - module.error(error.repeated, settings.animation, $module); + module.debug('Animation is already occurring, will not execute repeated animation', settings.animation); return false; } }