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
are they using the same version of firefox as you ?
it works on mine
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.
help > about firefox you can check the firefox version
maybe they have outdated browser plus js blocked
Does JS comes blocked by default?
They were just regular users, at least on my eyes.
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
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.there is still a js fallback
Try it without the selector.
how?
In the search bar:
about:config
.
Then just type in "layout.css.has-selector.enabled".
And see if it's true or false.it does break it but the js fallback should work
and it doesn't
So, that's the root cause.
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
Oh, it was all together before.
I think he might have changed it then.
maybe he found the same issue 🙂 and fixed it
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
indeed it's weird
Okay, can you try again, please.
https://cozynova.online/windcutter/
Wind Cutter Guide
Comprehensive, concise and dynamic Ragnarok Online guide.
Check if it works for you without the flag.
works w/o the flag
Yay!
Good eye though, I can't thank you enough.
np 🙂