Collapsed two comments onto one line.
authorArt Cancro <ajc@citadel.org>
Tue, 27 Dec 2022 17:25:19 +0000 (12:25 -0500)
committerArt Cancro <ajc@citadel.org>
Tue, 27 Dec 2022 17:25:19 +0000 (12:25 -0500)
This demonstrates that I now know the proper way to write git commit
messages.  Furthermore, it demonstrates that when a comment contains
documentation of functionality that no longer exists, it should be
shortened to match reality.

webcit-ng/static/js/util.js

index 25589056a3b59c6ce6da0885f75645ab5994c249..9e54e0f2d3ea3725c99259262d2e5777aa8da2c0 100644 (file)
@@ -36,8 +36,7 @@ function quoted_printable_encode(str) {
 }
 
 
-// Generate a random string of the specified length
-// Useful for generating one-time-use div names
+// generate a random string -- mainly used for generating one-time-use div names
 function randomString() {
        return Math.random().toString(36).replace('0.','ctdl_' || '');
 }