forked from CringeStudios/gamja
Convert remaining simple quotes to double quotes
This commit is contained in:
parent
e37d5f363b
commit
3dc98ec797
@ -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;
|
||||||
|
@ -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();
|
||||||
|
@ -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/>
|
||||||
`;
|
`;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user