IE7 javascript problem – easy fix
-
Hi,
In wp-ajaxify-comments.php on line 486 there is this line of code:
echo '"onBeforeSubmitComment": function() {'.wpac_get_option('callbackOnBeforeSubmitComment').'},';The trailing comma gives an error in IE7 (Expected identifier, string or number), by removing the trailing comma, the IE7 javascript bug is fixed:
echo '"onBeforeSubmitComment": function() {'.wpac_get_option('callbackOnBeforeSubmitComment').'}';The bug prevents other javascripts from working correctly on the same page.
Kind regards,
Tim
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘IE7 javascript problem – easy fix’ is closed to new replies.