From: Art Cancro Date: Tue, 27 Dec 2022 17:25:19 +0000 (-0500) Subject: Collapsed two comments onto one line. X-Git-Tag: v973~59 X-Git-Url: https://code.citadel.org/?a=commitdiff_plain;h=5ae6108d42411225dc883ef0832231b9a92aeabc;p=citadel.git Collapsed two comments onto one line. 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. --- diff --git a/webcit-ng/static/js/util.js b/webcit-ng/static/js/util.js index 25589056a..9e54e0f2d 100644 --- a/webcit-ng/static/js/util.js +++ b/webcit-ng/static/js/util.js @@ -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_' || ''); }