没有找到Mailchimp 404 js文件

时间:2014-09-16 14:29:27

标签: javascript http-status-code-404 mailchimp

我添加了一个mailchimp嵌入式表单,我直接从mailchimp复制并粘贴但是我在控制台日志中出现以下错误

GET http://s3.amazonaws.com/downloads.mailchimp.com/js/jquery.min.map 404 (Not Found) 

这是html.erb :( rails)

<link href="//cdn-images.mailchimp.com/embedcode/classic-081711.css" rel="stylesheet" type="text/css">
<style type="text/css">
#mc_embed_signup{background:#fff; clear:left; font:14px Helvetica,Arial,sans-serif; }
</style>

<div class="mc-investors">
  ...
</div>

<script type='text/javascript' src='//s3.amazonaws.com/downloads.mailchimp.com/js/mc-validate.js'></script>
<script type='text/javascript'>(function($) {window.fnames = new Array(); window.ftypes = new Array();fnames[1]='FNAME';ftypes[1]='text';fnames[2]='LNAME';ftypes[2]='text';fnames[0]='EMAIL';ftypes[0]='email';fnames[3]='MMERGE3';ftypes[3]='text';}(jQuery));var $mcj = jQuery.noConflict(true);</script>

非常感谢你的帮助。

1 个答案:

答案 0 :(得分:0)

Jquery是重复的,因为它已经在我的application.js和mailchimp模板中。