Hmmm no luck on stripping the comment code.
I still see the pop-up logging in console and of course, same broken behavior from IE.
??
I tried (and failed) to add a the following in a Divi code block….
Note: IE apparently doesn’t like $(window).load(), so using window.onload.
<script>
// Avoid <code>console</code> errors in browsers that lack a console.
window.onload = function() {
//Running this for IE only.
if!((navigator.userAgent.indexOf("MSIE") != -1 ) || (!!document.documentMode == true ))
return;
var method;
var noop = function () {};
var methods = [
'assert', 'clear', 'count', 'debug', 'dir', 'dirxml', 'error',
'exception', 'group', 'groupCollapsed', 'groupEnd', 'info', 'log',
'markTimeline', 'profile', 'profileEnd', 'table', 'time', 'timeEnd',
'timeline', 'timelineEnd', 'timeStamp', 'trace', 'warn'
];
var length = methods.length;
var console = (window.console = window.console || {});
while (length--) {
method = methods[length];
// Only stub undefined methods.
if (!console[method]) {
console[method] = noop;
}
}
};
</script>
Any JavaScript gurus out there that can help?
Hi @strackerphil-1 any chance you can add an IE11 code path?