We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30490b2 commit b104422Copy full SHA for b104422
src/main/java/org/htmlunit/html/DomElement.java
@@ -1463,10 +1463,7 @@ && getPage().getWebClient().getBrowserVersion().hasFeature(EVENT_ONCLICK_USES_PO
1463
* @return the execution result, or {@code null} if nothing is executed
1464
*/
1465
public ScriptResult fireEvent(final String eventType) {
1466
- if (getPage().getWebClient().isJavaScriptEnabled()) {
1467
- return fireEvent(new Event(this, eventType));
1468
- }
1469
- return null;
+ return fireEvent(new Event(this, eventType));
1470
}
1471
1472
/**
0 commit comments