Home › Forums › Calendar Products › Events Calendar PRO › Resizing calendar page breaks JavaScript
- This topic has 5 replies, 4 voices, and was last updated 7 years, 5 months ago by Greg Perham.
-
AuthorPosts
-
October 21, 2016 at 11:58 am #1180847Greg PerhamParticipant
Your plugin uses the jQuery Resize plugin, which has a bug that causes JS to break if any function (even an empty one) is bound to resize. See https://github.com/cowboy/jquery-resize/issues/1#issuecomment-6838372 for the solution and please update your plugin.
BTW, Tentysixteen is the current WP default plugin. Twentyfourteen is two years old 😉
October 22, 2016 at 12:29 pm #1181367GeorgeParticipantHi Greg,
1. You say, “Tentysixteen [sic] is the current WP default plugin. Twentyfourteen is two years old.” There is no plugin of this name so I assume you’re referring to the theme Twenty Sixteen. Can you clarify why you are mentioning this in the context of this issue?
2. As for the issue with jQuery Resize, can you please share a link to the page on your site where the JavaScript is breaking because of this so that we can take a closer look?
3. Next, can you please specify in what browser and operating system you see those JS errors in?
Thank you,
GeorgeOctober 24, 2016 at 7:48 am #1181887Greg PerhamParticipant1. Creating a new post in your forum
2. I’m using a fixed version of jQuery Resize on my site. To reproduce, enqueue a script in your theme with
jQuery(window).resize(function(){});
3. Chrome on Mac
October 24, 2016 at 12:21 pm #1182057GeorgeParticipantHey Greg,
In your reply you say, ” To reproduce, enqueue a script in your theme with jQuery(window).resize(function(){});”
So, to be clear here, are you saying that there are no issues with our plugins but there could be if an empty function like that exists somewhere?
• I cannot reproduce any problems or console errors with our plugins as-is, which use the resize function.
• If you have JavaScript errors on your site that arise when you are not using the “fixed” version of jQuery Resize, then please temporarily use the “not-fixed” version of jQuery Resize and link to the specific Events page on your site where the JavaScript error is visible. I will take a look at that and try to identify the exact error and its context so that I can make a proper bug ticket.
— George
November 15, 2016 at 8:35 am #1192493Support DroidKeymasterHey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.
Thanks so much!
The Events Calendar Support Team -
AuthorPosts
- The topic ‘Resizing calendar page breaks JavaScript’ is closed to new replies.