Closed luksak closed 11 years ago
@luksak
This may be popping up because of the following: window.getComputedStyle(style)
We should try changing to: window.getComputedStyle(style, null)
The second parameter is for pseudo selectors.
What do you think @paulirish or @scottjehl?
If it works, sounds great.
On Oct 4, 2013, at 11:05 AM, David Knight notifications@github.com wrote:
@luksak
This may be popping up because of the following: window.getComputedStyle(style)
We should try changing to: window.getComputedStyle(style, null)
The second parameter is for pseudo selectors.
What do you think @paulirish or @scottjehl?
— Reply to this email directly or view it on GitHub.
I realized that I was using a older version of matchmedia because I am using the Drupal picture module:
https://drupal.org/project/picture
I switched to the most recent version of matchmedia and I kept getting the same error. Using the by @knightdr suggested fix the issue was resolved.
I created a pull request for this: https://github.com/paulirish/matchMedia.js/pull/49
953faa1
Thanks reporting the issue and creating the pull request @luksak. I just merged your pull request so we can close out this issue.
@knightdr thank you for you effort! Great to get things fixed so fast :)
I am getting this error in Firefox 3.6:
What is going wrong here?