Use onclick directly to better support older webkit

This commit is contained in:
slackersoft
2015-03-06 10:09:08 -08:00
parent 7693a4c959
commit f0c480f456

View File

@@ -389,11 +389,11 @@ describe("New HtmlReporter", function() {
expect(payload.className).not.toContain('open');
trigger.click();
trigger.onclick();
expect(payload.className).toContain('open');
trigger.click();
trigger.onclick();
expect(payload.className).not.toContain('open');
});