File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -134,12 +134,14 @@ function commenceExtensionInitialization(configurationObject) {
134134 /**
135135 * Handle navigation changes in Single Page Applications by re-initializing the extension.
136136 * Ensures custom elements are present on the webpage after URL changes.
137- * Function will be called once after last trigger with 1000 ms delay.
137+ * Function will be called once after last trigger.
138+ *
139+ * NOTE: Reduced debounce delay from 1000ms to 100ms to remove visible injection delay.
138140 */
139141 const debouncedEnhancedInitialization = debounceFunctionExecution ( ( ) => {
140142 logConCgp ( '[init] URL change detected. Attempting to initialize extension...' ) ;
141143 commenceExtensionInitialization ( window . globalMaxExtensionConfig ) ;
142- } , 1000 ) ;
144+ } , 100 ) ;
143145
144146 /**
145147 * Observes changes to the URL in Single Page Applications and triggers a callback upon changes.
You can’t perform that action at this time.
0 commit comments