Comments (9)
Well I've removed the optional chaining operator. The page should work for you now. But I'd still strongly suggest updating your browser if possible. It'll help improve performance and compatibility with websites. I generally don't bother supporting older browsers since new features make development easier, and don't want to transpile my pages.
from minekhan.
You may have logged in in the middle of a restart or something. I haven't touched the front-end for the login page today, and the back-end worked just fine last time I checked. What "?" are you talking about btw?
from minekhan.
The "?" is here:
document.getElementById("form").onkeydown=t=>{"enter"===t.key?.toLowerCase()&&login() ...
t.key
? .toLowerCase()
The bolded and italic character is the question mark i'm talking about.
When I test it on the chromebook, it says: Unexpected token .
You can fix it like this: (t.key&&t.key.toLowerCase())
from minekhan.
Oh. That's the optional chaining operator. It was added to Chrome over a year ago, and most other browsers got it too. Do Chromebooks not auto-update Chrome or something? 🤔
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Optional_chaining
I probably shouldn't be using ES2020 for front-end either way. I wasn't really thinking about it.
from minekhan.
When I check for updates for my chromebook, it says the chromebook is up to date.
from minekhan.
What's chrome://version (in the url) say?
from minekhan.
Sorry if its very messy.
Google Chrome | 76.0.3809.136 (Official Build) (64-bit) -- | -- Revision | 64497260c8d9c993ed7d38d6dc289870eef89252-refs/branch-heads/3809@{#1039} Platform | 12239.92.1 (Official Build) stable-channel wolf Firmware Version | Google_Wolf.4389.24.62 JavaScript | V8 7.6.303.30 Flash | 32.0.0.465 /run/imageloader/PepperFlashPlayer/libpepflashplayer.so User Agent | Mozilla/5.0 (X11; CrOS x86_64 12239.92.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.136 Safari/537.36 Command Line | /opt/google/chrome/chrome --ppapi-flash-path=/opt/google/chrome/pepper/libpepflashplayer.so --ppapi-flash-version=32.0.0.238 --use-gl=egl --enable-native-gpu-memory-buffers --gpu-sandbox-failures-fatal=yes --enable-logging --log-level=1 --use-cras --enable-wayland-server --user-data-dir=/home/chronos --enable-features=MachineLearningService,ChromeOSAssistant,EnableBackgroundBlur,MyFilesVolume --login-profile=user --has-chromeos-keyboard --guest-wallpaper-large=/usr/share/chromeos-assets/wallpaper/guest_large.jpg --guest-wallpaper-small=/usr/share/chromeos-assets/wallpaper/guest_small.jpg --child-wallpaper-large=/usr/share/chromeos-assets/wallpaper/child_large.jpg --child-wallpaper-small=/usr/share/chromeos-assets/wallpaper/child_small.jpg --default-wallpaper-large=/usr/share/chromeos-assets/wallpaper/oem_large.jpg --default-wallpaper-small=/usr/share/chromeos-assets/wallpaper/oem_small.jpg --default-wallpaper-is-oem --enable-consumer-kiosk --enterprise-enrollment-initial-modulus=15 --enterprise-enrollment-modulus-limit=19 --login-manager --first-exec-after-boot --vmodule=*/chrome/browser/chromeos/account_manager/*=1,*/chromeos/components/account_manager/*=1,app_list_syncable_service=1,*/chromeos/power/auto_screen_brightness/*=1,*/forced_extensions/installation_tracker*=2,extension_downloader=2,existing_user_controller=2,*/ash/wm/tablet_mode/*=1,auto_enrollment_controller=1,*/ui/ozone/*=1,*/ui/display/manager/chromeos/*=1,update_engine=1,component_updater_service=1 --enable-features=MachineLearningService,ChromeOSAssistant,EnableBackgroundBlur,MyFilesVolume --origin-trial-disabled-features=SecurePaymentConfirmation --ui-compositor-memory-limit-when-visible-mb=512 Executable Path | /opt/google/chrome/chrome Profile Path | /home/chronos/u-99df7cdf98d8d7c88eddaf64da4876e23e35a834 Variations | d01ab0d3-377be55a414bf2d2-377be55a976622d1-2f709970591560a-391606447903da77-377be55a63bf0740-3f4a17df41c72c78-377be55a4cbcf8ef-377be55ae84c8bf2-377be55a3095aa95-3f4a17df9568c338-377be55a58546ca6-377be55a2a565533-a9ddec78e27776-377be55a8f80d469-377be55ad8e87453-516c6aad98be3390-d93a0620e4a357e9-ca7d8d80d6d4ee9a-377be55a64c5e43d-377be55a55a3035a-377be55adac832a5-377be55a2ea1f2c6-377be55a76d4cff8-12ede6a2e111fcd-3f4a17df9b4c4257-455689ed65dc5a37-377be55a43f62d3b-56dd17e7c244b7f-da2b42b9ad5dc5d-dc5e89fc2594bdf4-93d4a67a533505eb-3d47f4f4913f596c-e2062dbbe80915aa-377be55aac8d4708-377be55a3f2db1c3-7cfad6202fa8b3e1-4f7edc428d1fbf5c-5364eb6a76aafe12-377be55aed846e24-377be55a1a298d67-377be55acec9a952-ca7d8d80b8d7a428-76bcaaa6d840bbac-377be55afb57f531-377be55a1354da85-781294a7494d8760-52325d433ac60855-486e2a9c63dcb6a3-9ce370dde706e746-36a9bd45f296190c-5192b0cf4442aae2-a90023b1f690cf64-6e597edeed1d377-e1cc0f1475f0f0a0-d7f6b13ce2b18481-bca011b3e7e71889-4ad605753a8271ac-12c2269d41599a-377be55a2eb45dac-377be55a82ebe475-c7f8da8c3b6c4d49-d25a0df79ac4f12b-462f9109d7c366d2-714d46a5bc02ac9b-3f4a17df787405bb-b4c81d8762577cad-3f4a17df38878cb4-3d47f4f46f71b60a-3a65fd9afrom minekhan.
Eh sorry I just meant the first line, but Google Chrome | 76.0.3809.136 answers the question. That means your browser hasn't been updated since July 2019
from minekhan.
Yeah, I've been using a Chromebook all along, and a browser update sounds like a reasonable problem.
from minekhan.
Related Issues (20)
- [Question] Web Hosting HOT 2
- Backspace bug HOT 6
- How to fix lighting bug HOT 2
- Generation issue HOT 3
- The Far Lands??? HOT 2
- Suggestion: Better UI HOT 7
- Texture encoding HOT 5
- Iframes No Work HOT 1
- Mods(maybe i can create them?) HOT 1
- Armor NOW HOT 3
- A MOD adding music feature to the game, and a few useful commands HOT 1
- Website not updated to most recent version HOT 1
- hii HOT 3
- Redstone HOT 2
- "Real Willard" HOT 1
- MineKhan Wiki! HOT 7
- Suggestion: 3rd Person View (edit: oops this already exists sorry) HOT 2
- Lighting Bug HOT 1
- How to know if banned HOT 2
- Banning question HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from minekhan.