DoSomething / forge

🎨 The DoSomething.org pattern library.
http://forge.dosomething.org
MIT License
48 stars 14 forks source link

Add try/catch block for cases where click method not supported. #504

Closed DFurnes closed 9 years ago

DFurnes commented 9 years ago

Changes

Add a try/catch block around the click(); DOM method, since PhantomJS does not support it. The click() method is supported in all other browsers we care about for this test, so I don't think it's worth the extra code required to create a cross-browser version.

For review: @DoSomething/front-end

sbsmith86 commented 9 years ago

:+1: