HEX
Server: Apache
System: Linux mx52.hostgator.mx 5.14.0-687.12.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Sun Jun 7 14:39:27 EDT 2026 x86_64
User: narrativ (1644)
PHP: 8.2.33
Disabled: NONE
Upload Files
File: /home4/narrativ/public_html/wp-content/plugins/jnews-social-login/assets/js/plugin.js
!function(n){"use strict";window.jnews.socialLogin=window.jnews.socialLogin||{},window.jnews.socialLogin={init:function(){this.xhr=null,this.container=n(".social-login-wrapper"),this.button={facebook:this.container.find(".social-login-item .btn-facebook"),google:this.container.find(".social-login-item .btn-google"),linkedin:this.container.find(".social-login-item .btn-linkedin")},this.setEvent()},setEvent:function(){var i=this;for(var t in i.button)i.button[t].length>0&&n(i.button[t]).on("click",(function(t){t.preventDefault();var o=n(this).attr("class").split(/\s+/)[1].substr(4);null!==i.xhr&&(i.xhr.abort(),i.xhr=null),i.doAjax(o)}))},doAjax:function(i){this.xhr=n.ajax({url:jnews_ajax_url,type:"post",dataType:"json",data:{action:"social_login",login_type:i}}).done((function(n){!1!==n.url&&(window.location.href=n.url)}))}},n(document).ready((function(){jnews.socialLogin.init()}))}(jQuery);