Kevin's color picker

Not sure what is the best place for this, but I didn't want to flood #general I'm using Kevin's color picker JS word by word (and matching HTML) in my site: https://cozynova.online/windcutter/ But some people with Firefox has reported that it doesn't work for them, but it does for me. Does anyone have a clue what could it be? This is his code for it: https://codepen.io/kevinpowell/pen/MWXybWJ
22 Replies
Mannix
Mannix•3y ago
are they using the same version of firefox as you ? it works on mine
Myndi
MyndiOP•3y ago
Hmmm, should it be updated? Where could I look into it? 3 people said it doesn't work for them. And they're from different places/countries, so I didn't know what I could come up with.
Mannix
Mannix•3y ago
help > about firefox you can check the firefox version maybe they have outdated browser plus js blocked
Myndi
MyndiOP•3y ago
Does JS comes blocked by default? They were just regular users, at least on my eyes.
Mannix
Mannix•3y ago
no but maybe they use some kind of add on that does it it works for you and for me so it's something on their end
Myndi
MyndiOP•3y ago
Okay, I will check both the version, and if they have JS blocked. @mannix_I think I know what it is. Do you have the :has( ) selector enabled? I had it enabled, disabled it, and it doesn't work now. So the problem seems to be the JS.
Mannix
Mannix•3y ago
there is still a js fallback
Myndi
MyndiOP•3y ago
Try it without the selector.
Mannix
Mannix•3y ago
how?
Myndi
MyndiOP•3y ago
In the search bar: about:config. Then just type in "layout.css.has-selector.enabled". And see if it's true or false.
Mannix
Mannix•3y ago
it does break it but the js fallback should work and it doesn't
Myndi
MyndiOP•3y ago
So, that's the root cause.
Mannix
Mannix•3y ago
oh wait kevin splited the has and js class in his css you didn't you have .red, has: he have them separated in css
Myndi
MyndiOP•3y ago
Oh, it was all together before. I think he might have changed it then.
Mannix
Mannix•3y ago
maybe he found the same issue 🙂 and fixed it
Myndi
MyndiOP•3y ago
Let me see if it works, give me a minute. I think it works, will update the live version. That's weird, why splitting it makes it athenking
Mannix
Mannix•3y ago
indeed it's weird
Myndi
MyndiOP•3y ago
Okay, can you try again, please. https://cozynova.online/windcutter/
Wind Cutter Guide
Comprehensive, concise and dynamic Ragnarok Online guide.
Myndi
MyndiOP•3y ago
Check if it works for you without the flag.
Mannix
Mannix•3y ago
works w/o the flag
Myndi
MyndiOP•3y ago
Yay! Good eye though, I can't thank you enough.
Mannix
Mannix•3y ago
np 🙂
Want results from more Discord servers?
Add your server