mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-20 23:46:14 -04:00
chore: fix some typos in comments (#6343)
Signed-off-by: alongdate <alongyear@outlook.com>
This commit is contained in:
parent
2e0654bd34
commit
2d01f6027f
3 changed files with 4 additions and 4 deletions
|
@ -167,7 +167,7 @@ const getUrlVars = () => new URL(window.location.href).searchParams;
|
|||
|
||||
const sendClientReady = (isReconnect) => {
|
||||
let padId = document.location.pathname.substring(document.location.pathname.lastIndexOf('/') + 1);
|
||||
// unescape neccesary due to Safari and Opera interpretation of spaces
|
||||
// unescape necessary due to Safari and Opera interpretation of spaces
|
||||
padId = decodeURIComponent(padId);
|
||||
|
||||
if (!isReconnect) {
|
||||
|
@ -213,7 +213,7 @@ const sendClientReady = (isReconnect) => {
|
|||
const handshake = async () => {
|
||||
let receivedClientVars = false;
|
||||
let padId = document.location.pathname.substring(document.location.pathname.lastIndexOf('/') + 1);
|
||||
// unescape neccesary due to Safari and Opera interpretation of spaces
|
||||
// unescape necessary due to Safari and Opera interpretation of spaces
|
||||
padId = decodeURIComponent(padId);
|
||||
|
||||
// padId is used here for sharding / scaling. We prefix the padId with padId: so it's clear
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue