Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid "Window.getComputedStyle does not implement interface Element" exception in Firefox #1425

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Jan 16, 2015

  1. Only traverse ancestors so long as they are elements

    In Firefox an error "does not implement interface Element" was
    being raised when the MouseWheel event was outside the map, due
    to the traverse up the tree winding up at the document element.
    
    This error was caught in the try-catch block and so did not
    bubble up to the user, but trying to use Firebug and stop on
    all errors then it caused some irritation.
    ejn committed Jan 16, 2015
    Configuration menu
    Copy the full SHA
    ee5e93f View commit details
    Browse the repository at this point in the history