Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
IE8 throws an error related to the Borealis JS:
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727)
Timestamp: Mon, 3 Jun 2013 18:28:01 UTC
Message: 'undefined' is null or not an object
Line: 316
Char: 5
Code: 0
URI: http://nrf.local/sites/all/modules/contrib/borealis/borealis_ri/js/borea...
Comment | File | Size | Author |
---|---|---|---|
#2 | ie8jserror-2011016-2.patch | 640 bytes | mherchel |
IE8 Borealis error 6:3:13 2:23 PM.png | 246.07 KB | Kendall Totten |
Comments
Comment #1
tjhellmannI ran into this same error. Even though there is a polyfill in place for IE8,
var parentDisplay = getComputedStyle(parentNode).display;
comes back undefined. I tried running a test for it and settingparentDisplay
to the width of the browser window as a fallback.Something like:
Maybe not ideal but hopefully helps toward a better solution.
Comment #2
mherchelConfirmed that this issue still exists in latest dev.
The changes in #1 do fix this for me (and cause the image to render). I'm attaching a patch to make it a bit easier :)