summaryrefslogtreecommitdiff
path: root/src/web/app/client
diff options
context:
space:
mode:
authorsyuilo⭐️ <Syuilotan@yahoo.co.jp>2017-03-31 03:29:39 +0900
committerGitHub <noreply@github.com>2017-03-31 03:29:39 +0900
commit8b1e56957d71fb40475fac95186ab3cf108a2ae2 (patch)
tree78efba8dacbf99824ceb6708c83ab79becf6f894 /src/web/app/client
parentUpdate CONTRIBUTING.md (diff)
downloadsharkey-8b1e56957d71fb40475fac95186ab3cf108a2ae2.tar.gz
sharkey-8b1e56957d71fb40475fac95186ab3cf108a2ae2.tar.bz2
sharkey-8b1e56957d71fb40475fac95186ab3cf108a2ae2.zip
Update script.js
Diffstat (limited to 'src/web/app/client')
-rw-r--r--src/web/app/client/script.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/web/app/client/script.js b/src/web/app/client/script.js
index 1ad45b333e..fd0c20e012 100644
--- a/src/web/app/client/script.js
+++ b/src/web/app/client/script.js
@@ -1,7 +1,7 @@
/**
* MISSKEY CLIENT ENTRY POINT
*/
-(() => {
+{
const head = document.getElementsByTagName('head')[0];
// Detect user language
@@ -27,4 +27,4 @@
meta.setAttribute('content', 'width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no');
head.appendChild(meta);
}
-})();
+}