Convert remaining simple quotes to double quotes

This commit is contained in:
Simon Ser 2022-02-26 09:54:31 +01:00
parent e37d5f363b
commit 3dc98ec797
3 changed files with 4 additions and 4 deletions

View File

@ -60,11 +60,11 @@ function isProduction() {
function parseQueryString() { function parseQueryString() {
let query = window.location.search.substring(1); let query = window.location.search.substring(1);
let params = {}; let params = {};
query.split('&').forEach((s) => { query.split("&").forEach((s) => {
if (!s) { if (!s) {
return; return;
} }
let pair = s.split('='); let pair = s.split("=");
params[decodeURIComponent(pair[0])] = decodeURIComponent(pair[1] || ""); params[decodeURIComponent(pair[0])] = decodeURIComponent(pair[1] || "");
}); });
return params; return params;

View File

@ -167,7 +167,7 @@ export default class Composer extends Component {
return; return;
} }
let text = event.clipboardData.getData('text'); let text = event.clipboardData.getData("text");
event.preventDefault(); event.preventDefault();
event.stopImmediatePropagation(); event.stopImmediatePropagation();

View File

@ -138,7 +138,7 @@ export default class ConnectForm extends Component {
name="autojoin" name="autojoin"
checked=${this.state.autojoin} checked=${this.state.autojoin}
/> />
Auto-join channel${s} <strong>${channels.join(', ')}</strong> Auto-join channel${s} <strong>${channels.join(", ")}</strong>
</label> </label>
<br/><br/> <br/><br/>
`; `;