Index: client/html/src/DocumentWrappingImplementation.dart |
diff --git a/client/html/src/DocumentWrappingImplementation.dart b/client/html/src/DocumentWrappingImplementation.dart |
index 92340a251d195d17dc490e54f7d69b4d5d2e9d0a..8db883f8b49694e1091e7478cf6acf8e77b39f92 100644 |
--- a/client/html/src/DocumentWrappingImplementation.dart |
+++ b/client/html/src/DocumentWrappingImplementation.dart |
@@ -144,7 +144,7 @@ class DocumentWrappingImplementation extends ElementWrappingImplementation imple |
DocumentEvents get on() { |
if (_on === null) { |
- _on = new DocumentEventsImplementation._wrap(_ptr); |
+ _on = new DocumentEventsImplementation._wrap(_documentPtr); |
} |
return _on; |
} |