aboutsummaryrefslogtreecommitdiffstats
path: root/src/client/Utils.hx
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/Utils.hx')
-rw-r--r--src/client/Utils.hx1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/client/Utils.hx b/src/client/Utils.hx
index f071b76..2234a1b 100644
--- a/src/client/Utils.hx
+++ b/src/client/Utils.hx
@@ -202,7 +202,6 @@ class Utils {
public static function createResizeObserver(callback:(entries:Array<Dynamic>) -> Void):Null<{
observe:(el:Element) -> Void
}> {
- return null;
final window = js.Browser.window;
final observer = (window : Dynamic).ResizeObserver ?? return null;
return js.Syntax.code("new ResizeObserver({0})", callback);
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage