diff --git a/jso/apis/src/main/java/org/teavm/jso/websocket/WebSocket.java b/jso/apis/src/main/java/org/teavm/jso/websocket/WebSocket.java index 8c5ead3ed..48079f199 100644 --- a/jso/apis/src/main/java/org/teavm/jso/websocket/WebSocket.java +++ b/jso/apis/src/main/java/org/teavm/jso/websocket/WebSocket.java @@ -80,5 +80,5 @@ public abstract class WebSocket implements JSObject { public abstract String getUrl(); @JSBody(script = "return typeof WebSocket !== 'undefined';") - protected static native boolean isSupported(); + public static native boolean isSupported(); }