PK œqhYî¶J‚ßFßF)nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/ $#$#$#

Dir : /home/trave494/myvideomania.com/wp-content/plugins/automatic-video-posts/js/
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64
IP: 209.182.202.254
Choose File :

Url:
Dir : //home/trave494/myvideomania.com/wp-content/plugins/automatic-video-posts/js/errors.js

/**************************************************************************************************/
/*
/*		File:
/*			errors.js
/*		Description:
/*			This file contains Javascript for ternstyle's Automatic Video Posts Plugin (Errors).
/*		Copyright:
/*			Copyright (c) 2016 Ternstyle LLC.
/*		License:
/*			This software is licensed under the terms of the End User License Agreement (EULA) 
/*			provided with this software. In the event the EULA is not present with this software
/*			or you have not read it, please visit:
/*			http://www.ternstyle.us/automatic-video-posts-plugin-for-wordpress/license.html
/*
/**************************************************************************************************/

/****************************************Commence Script*******************************************/

/*------------------------------------------------------------------------------------------------
	Initialize
------------------------------------------------------------------------------------------------*/

	add_error = add_alert = null;
	
/*------------------------------------------------------------------------------------------------
	Errors
------------------------------------------------------------------------------------------------*/

	(function($) {
			
		add_error = function (e) {
			$('#wpbody-content').prepend('<div class="tern_error tern_error_new"><div><p>'+e+'</p></div></div>');
			error_show();
		}
		
		add_alert = function (e) {
			$('#wpbody-content').prepend('<div class="tern_alert tern_error_new"><div><p>'+e+'</p></div></div>');
			error_show();
		}
		
		function error_show() {
			$('.tern_error_new').each(function () {
				$(this).stop().animate({ height:$(this).find('> div').outerHeight() },{ duration:500,easing:'easeOutCirc',complete : function () {
					$(this).removeClass('tern_error_new');
				}});
			});
		}
		
	})(jQuery);
	

/****************************************Terminate Script******************************************/