Support » Plugin: WP Simple Calendar » Last Month-Next Month Links don't click in IE

  • Resolved srlaird


    The calendar is great. Thank you!

    We are seeing a problem with the Last Month-Next Month links in IE9. The link address appears correct on mouseover, but when the links are left-clicked, the page does not reload to the next/previous month. If we right click and open, open in new window or new tab, we get the next and previous month, but just left clicking on the links does not work in IE9.

    Works fine in Firefox, Chrome and Safari.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author John Hawkins


    I’ll have to take a look. Thanks for reporting it.

    John, thanks for the response. Have you had a chance to take a look at the issue with IE? It is both IE8 and IE9. Do you see the same thing we are seeing?

    I fixed this by removing the line console.log( { 'title' : data.title, 'grid' : data.grid } ); in includes/js/wp-simple-calendar.js.

    Your javascript will break in certain browsers (*cough*IE*cough*) if you use console.log in your code and don’t have the developer tools panel open at the same time.

    If you want to keep that line in, you can add this to the top of the file to tell IE to not be stupid:

    if(!window.console){ window.console = {log: function(){} }; }

    But it’s really just for debug purposes, and not necessary for the script to function, so I just removed it.

    Thank you Nikki! That has solved our IE issue with the calendar.

    It is the season to be thankful for the WordPress Community!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Last Month-Next Month Links don't click in IE’ is closed to new replies.