drublic/css-modal — pull request #25 by tzi (2013-05-06 20:32:40+00:00)
Title: Remove a javascript error with the Node.contains()

Hi!

I had a JavaScript error, when I was testing the video demo.
The Node.contains() was used with a string in arguments instead of an element.

Mainly, I have no idea why you are doing this test.
modal.focus() is call just one time, and we know that modal.activeElement is the hashElement.

Cheers,
Thomas.