Browse Source

* fix IsServiceWorker

Michaël Van Canneyt 3 years ago
parent
commit
dc33972704
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/rtl/web.pas

+ 1 - 1
packages/rtl/web.pas

@@ -4131,7 +4131,7 @@ implementation
 Function IsServiceWorker : Boolean;
 
 begin
-  isDefined(serviceWorker);
+  Result:=isDefined(serviceWorker);
 end;
 
 end.