The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

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

  1. farmer paul
    Posted 5 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