From 14340bb374691068662a0ccd9c013fcfadae0406 Mon Sep 17 00:00:00 2001 From: "worapol.pan.buraphan" Date: Wed, 1 Feb 2023 06:59:36 +0700 Subject: [PATCH] Fix drawtext error (#938) 1. Start QB-Core on a slow or low-spec computer 2. Access the Debug UI page (localhost:13172) 3. Encounter an error in the drawtext.js file 4. The issue stems from the script loading successfully but any resource call function (hideText) and sending an event message before index.html of all resources are fully loaded on NUI it make `html
` is not loaded. --- html/index.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/html/index.html b/html/index.html index ee1875f..4424117 100644 --- a/html/index.html +++ b/html/index.html @@ -7,8 +7,6 @@ - - @@ -16,5 +14,7 @@
+ + - \ No newline at end of file +