WDP AJAX Comments
[resolved] wdp-ajax-comments breaks JavaScript in Firefox without Firebug (1 post)

  1. farmer paul
    Posted 4 years ago #

    If using Firefox and Firebug is disabled, then the object "console" is undefined. wdp-ajax-comments doesn't account for this. To fix this scenario, insert the following in ajax-comments.js at line 12, immediately before the "console.log" line:

    if( typeof( console ) != 'undefined' )

    This will cause Firefox (without Firebug) to resume processing JavaScript code after ajax-comments.js, instead of crashing the interpreter.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WDP AJAX Comments
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic