Skip to content

Commit

Permalink
Remove browser callback
Browse files Browse the repository at this point in the history
  • Loading branch information
Sheikah45 committed Nov 30, 2023
1 parent 67d6a60 commit 86753a1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/main/java/com/faforever/client/fx/WebViewConfigurer.java
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,6 @@ public void configureWebView(WebView webView) {
Element link = (Element) nodeList.item(i);
String href = link.getAttribute("href");

link.setAttribute("onMouseOver", "java.previewUrl('" + href + "')");
link.setAttribute("onMouseOut", "java.hideUrlPreview()");
link.setAttribute("href", "javascript:java.openUrl('" + href + "');");
}
});
Expand Down

0 comments on commit 86753a1

Please sign in to comment.