From 46e1e7528ae913f433cf4fe11db256b2fa0c008e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Deuc=D0=B5?= <shurd@sasktel.net>
Date: Sun, 4 Apr 2021 22:09:30 -0400
Subject: [PATCH] Clarify that dispatchEvent() adds to the end of the run queue

---
 src/sbbs3/js_internal.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/sbbs3/js_internal.c b/src/sbbs3/js_internal.c
index cc52ef6dd3..eee4121fc1 100644
--- a/src/sbbs3/js_internal.c
+++ b/src/sbbs3/js_internal.c
@@ -1481,7 +1481,7 @@ static jsSyncMethodSpec js_functions[] = {
 	,31802
 	},
 	{"dispatchEvent",	js_dispatchEvent,	1,	JSTYPE_VOID,	JSDOCSTR("eventName [, thisObj]")
-	,JSDOCSTR("Add all listeners of eventName to the runqueue.  If obj is passed, specifies this in the callback (the js object is used otherwise).")
+	,JSDOCSTR("Add all listeners of eventName to the end of the runqueue.  If obj is passed, specifies this in the callback (the js object is used otherwise).")
 	,31802
 	},
 	{"setImmediate",	js_setImmediate,	1,	JSTYPE_VOID,	JSDOCSTR("callback[, thisObj]")
-- 
GitLab