Title: Duplicate Javascript array?
Last modified: April 24, 2018

---

# Duplicate Javascript array?

 *  Resolved [Dave Bianchi](https://wordpress.org/support/users/davebianchi/)
 * (@davebianchi)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/duplicate-javascript-array/)
 * Looking our my page source code, I noticed that it looks as if Simple Calendar
   is posting the same Javascript array twice on the page. Is there a reason for
   this? If you look at the code, there are two instances of “simcal_default_calendar”
   on the page right next to each other. Here is the code from our production site:
 * <script type=’text/javascript’ src=’[https://www.servername.com/wp-content/plugins/google-calendar-events/assets/js/vendor/moment-timezone-with-data.min.js?ver=3.1.14′></script&gt](https://www.servername.com/wp-content/plugins/google-calendar-events/assets/js/vendor/moment-timezone-with-data.min.js?ver=3.1.14′></script&gt);
   
   <script type=’text/javascript’> /* <![CDATA[ */ var simcal_default_calendar ={“
   ajax_url”:”\/wp-admin\/admin-ajax.php”,”nonce”:”7ea96ae434″,”locale”:”en_US”,”
   text_dir”:”ltr”,”months”:{“full”:[“January”,”February”,”March”,”April”,”May”,”
   June”,”July”,”August”,”September”,”October”,”November”,”December”],”short”:[“
   Jan”,”Feb”,”Mar”,”Apr”,”May”,”Jun”,”Jul”,”Aug”,”Sep”,”Oct”,”Nov”,”Dec”]},”days”:{“
   full”:[“Sunday”,”Monday”,”Tuesday”,”Wednesday”,”Thursday”,”Friday”,”Saturday”],”
   short”:[“Sun”,”Mon”,”Tue”,”Wed”,”Thu”,”Fri”,”Sat”]},”meridiem”:{“AM”:”AM”,”am”:”
   am”,”PM”:”PM”,”pm”:”pm”}}; var simcal_default_calendar = {“ajax_url”:”\/wp-admin\/
   admin-ajax.php”,”nonce”:”7ea96ae434″,”locale”:”en_US”,”text_dir”:”ltr”,”months”:{“
   full”:[“January”,”February”,”March”,”April”,”May”,”June”,”July”,”August”,”September”,”
   October”,”November”,”December”],”short”:[“Jan”,”Feb”,”Mar”,”Apr”,”May”,”Jun”,”
   Jul”,”Aug”,”Sep”,”Oct”,”Nov”,”Dec”]},”days”:{“full”:[“Sunday”,”Monday”,”Tuesday”,”
   Wednesday”,”Thursday”,”Friday”,”Saturday”],”short”:[“Sun”,”Mon”,”Tue”,”Wed”,”
   Thu”,”Fri”,”Sat”]},”meridiem”:{“AM”:”AM”,”am”:”am”,”PM”:”PM”,”pm”:”pm”}}; /* ]]
   > */ </script> <script type=’text/javascript’ src=’[https://www.servername.com/wp-content/plugins/google-calendar-events/assets/js/default-calendar.min.js?ver=3.1.14′></script&gt](https://www.servername.com/wp-content/plugins/google-calendar-events/assets/js/default-calendar.min.js?ver=3.1.14′></script&gt);
 * (Also, I tried to send this though your website’s support page since we have 
   a license, but Wordfence is blocking the send action. Might want to take a look
   at that.)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [simplecalendarsupport](https://wordpress.org/support/users/simplecalendarsupport/)
 * (@simplecalendarsupport)
 * [8 years ago](https://wordpress.org/support/topic/duplicate-javascript-array/#post-10261101)
 * Hi Dave,
 * Sorry for the late reply. I have submitted this to our development team Can you
   send a screenshot of the Wordfence blocking error to [support@simplecalendar.io](https://wordpress.org/support/topic/duplicate-javascript-array/support@simplecalendar.io?output_format=md)(
   rather than through our website contact form) and address to Nico.
 * Thanks so much
 *  Thread Starter [Dave Bianchi](https://wordpress.org/support/users/davebianchi/)
 * (@davebianchi)
 * [8 years ago](https://wordpress.org/support/topic/duplicate-javascript-array/#post-10315992)
 * The bug is corrected. Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Duplicate Javascript array?’ is closed to new replies.

 * ![](https://ps.w.org/google-calendar-events/assets/icon-256x256.png?rev=1263960)
 * [Simple Calendar - Google Calendar Plugin](https://wordpress.org/plugins/google-calendar-events/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/google-calendar-events/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/google-calendar-events/)
 * [Active Topics](https://wordpress.org/support/plugin/google-calendar-events/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/google-calendar-events/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/google-calendar-events/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Dave Bianchi](https://wordpress.org/support/users/davebianchi/)
 * Last activity: [8 years ago](https://wordpress.org/support/topic/duplicate-javascript-array/#post-10315992)
 * Status: resolved