Browse Source

* Fix origin property in TJSLocation

michael 5 years ago
parent
commit
5dfaca424e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/rtl/web.pas

+ 1 - 1
packages/rtl/web.pas

@@ -328,7 +328,7 @@ TEventListenerEvent = class external name 'EventListener_Event' (TJSObject)
 
 
   TJSLocation = class external name 'Location'  (TJSObject)
   TJSLocation = class external name 'Location'  (TJSObject)
   Private
   Private
-    FOrigin : string;
+    FOrigin : string; external name 'origin';
   Public
   Public
     hash : string;
     hash : string;
     host : string;
     host : string;