Fix some typos in code

This commit is contained in:
2023-02-05 22:23:05 +08:00
parent e5733ae3d2
commit 63c3653478
2 changed files with 3 additions and 3 deletions

View File

@@ -195,10 +195,10 @@
function injectJsFiles(callback, ...names) {
let loadedCount = 0;
let radomTime = new Date().getTime();
let randomTime = new Date().getTime();
for (let i = 0; i < names.length; i++) {
let script = document.createElement('script');
script.src = 'resources/js/' + names[i] + '?randomId=' + radomTime;
script.src = 'resources/js/' + names[i] + '?randomId=' + randomTime;
script.onload = () => {
loadedCount++;
if (loadedCount >= names.length) setTimeout(() => { callback(); }, 150);

View File

@@ -26,6 +26,6 @@ const markdownContents = {
'MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n' +
'GNU Affero General Public License for more details.\n\n' +
'You should have received a copy of the GNU Affero General Public License\n' +
'along with this program. If not, see &lt;http://www.gnu.org/licenses/&gt;.\n' +
'along with this program. If not, see <http://www.gnu.org/licenses/>.\n' +
'```'
};