Home › Forums › Ticket Products › Event Tickets Plus › JS error
- This topic has 4 replies, 3 voices, and was last updated 8 years, 6 months ago by
Cliff.
Viewing 4 posts - 1 through 4 (of 4 total)
-
AuthorPosts
-
September 24, 2017 at 8:28 am #1354020
Aurélien
ParticipantHi,
I’m using Event Ticket and Event Ticket Plus for a custom post type. I’ve noticed that it loads this JS script on all page even those who do not need Event Ticket. Is that a bug?
<script> ( function ( body ) { 'use strict'; body.className = body.className.replace( /\btribe-no-js\b/, 'tribe-js' ); } )( document.body ); </script> <script type='text/javascript'> /* <![CDATA[ */var tribe_l10n_datatables = {"aria":{"sort_ascending":": activate to sort column ascending","sort_descending":": activate to sort column descending"},"length_menu":"Show _MENU_ entries","empty_table":"No data available in table","info":"Showing _START_ to _END_ of _TOTAL_ entries","info_empty":"Showing 0 to 0 of 0 entries","info_filtered":"(filtered from _MAX_ total entries)","zero_records":"No matching records found","search":"Search:","all_selected_text":"All items on this page were selected. ","select_all_link":"Select all pages","clear_selection":"Clear Selection.","pagination":{"all":"All","next":"Suivant","previous":"Previous"},"select":{"rows":{"0":"","_":": Selected %d rows","1":": Selected 1 row"}},"datepicker":{"dayNames":["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],"dayNamesShort":["dim","lun","mar","mer","jeu","ven","sam"],"dayNamesMin":["D","L","M","M","J","V","S"],"monthNames":["janvier","f\u00e9vrier","mars","avril","mai","juin","juillet","ao\u00fbt","septembre","octobre","novembre","d\u00e9cembre"],"monthNamesShort":["janvier","f\u00e9vrier","mars","avril","mai","juin","juillet","ao\u00fbt","septembre","octobre","novembre","d\u00e9cembre"],"nextText":"Next","prevText":"Prev","currentText":"Today","closeText":"Done"}};/* ]]> */ </script>Thanks for your time!
September 25, 2017 at 7:37 pm #1354686Cliff
MemberHi. I tested and confirmed, but am not sure it causes any issues.
https://theeventscalendar.com/support/forums/topic/how-to-remove-events-calendar-from-custom-template/ might include the code snippet(s) you’re wanting.
Please share your thoughts on this.
September 26, 2017 at 1:09 am #1354772Aurélien
ParticipantThanks for the link, it removed the code. I prefer doing it to prevent cache / performance issues.
September 26, 2017 at 4:26 pm #1355260Cliff
MemberOkay, thanks for letting me know. Have a great rest of your week.
-
AuthorPosts
Viewing 4 posts - 1 through 4 (of 4 total)
- The topic ‘JS error’ is closed to new replies.
