diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2017-01-01 11:19:32 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2017-01-01 11:19:32 +0900 |
| commit | 372db241e9e33f5e834ee84a030fcfab57832a83 (patch) | |
| tree | d4304e3ac99213d8c5983dc53c5df74de0098427 /src/web | |
| parent | Clean up (diff) | |
| download | sharkey-372db241e9e33f5e834ee84a030fcfab57832a83.tar.gz sharkey-372db241e9e33f5e834ee84a030fcfab57832a83.tar.bz2 sharkey-372db241e9e33f5e834ee84a030fcfab57832a83.zip | |
Clean up
Diffstat (limited to 'src/web')
| -rw-r--r-- | src/web/app/boot.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/web/app/boot.js b/src/web/app/boot.js index 9d6687f9e5..348787726b 100644 --- a/src/web/app/boot.js +++ b/src/web/app/boot.js @@ -142,8 +142,7 @@ function fetchme(token, silent, cb) { } function init() { - var data, this$ = this; - data = generateDefaultUserdata(); + const data = generateDefaultUserdata(); api(token, 'i/appdata/set', { data: JSON.stringify(data) }).then(() => { |