# getresponse/trunk/assets/twostep.min.js

GetResponse Forms by Optin Cat, version trunk. 1 lines.

- Page: https://pluginprobe.com/plugins/getresponse/trunk/code/assets/twostep.min.js
- Raw: https://pluginprobe.com/plugins/getresponse/trunk/raw/assets/twostep.min.js
- Modified: 2017-01-17T11:48:56+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/getresponse/trunk/code/assets/twostep.min.js#L10-L20`.

```javascript
jQuery(document).ready(function(t){function a(a){t.ajax({url:fcaEoiScriptData.ajax_url,type:"POST",data:{nonce:fcaEoiScriptData.nonce,form_id:a,action:"fca_eoi_activity"}})}t(document).on("click","[data-optin-cat]",function(i){i.preventDefault();var e=t(this).data("optin-cat");a(e);var n=t("#fca_eoi_lightbox_"+e);t.featherlight(n,{variant:"fca_eoi_featherlight",closeOnClick:!1,afterOpen:function(){var t=this.$instance;n.hasClass("animated")?setTimeout(function(){t.find("span.featherlight-close-icon.featherlight-close").show(),t.find(".fca_eoi_form_input_element").last().focus()},600):(t.find("span.featherlight-close-icon.featherlight-close").show(),t.find(".fca_eoi_form_input_element:visible").first().focus())}})})});
```
