diff --git a/components/app.js b/components/app.js index a534f21..3af9013 100644 --- a/components/app.js +++ b/components/app.js @@ -60,11 +60,11 @@ function isProduction() { function parseQueryString() { let query = window.location.search.substring(1); let params = {}; - query.split('&').forEach((s) => { + query.split("&").forEach((s) => { if (!s) { return; } - let pair = s.split('='); + let pair = s.split("="); params[decodeURIComponent(pair[0])] = decodeURIComponent(pair[1] || ""); }); return params; diff --git a/components/composer.js b/components/composer.js index f029381..6938f13 100644 --- a/components/composer.js +++ b/components/composer.js @@ -167,7 +167,7 @@ export default class Composer extends Component { return; } - let text = event.clipboardData.getData('text'); + let text = event.clipboardData.getData("text"); event.preventDefault(); event.stopImmediatePropagation(); diff --git a/components/connect-form.js b/components/connect-form.js index 9915644..5b8a529 100644 --- a/components/connect-form.js +++ b/components/connect-form.js @@ -138,7 +138,7 @@ export default class ConnectForm extends Component { name="autojoin" checked=${this.state.autojoin} /> - Auto-join channel${s} ${channels.join(', ')} + Auto-join channel${s} ${channels.join(", ")}

`;