|
|
|
|
|
by underwater
5184 days ago
|
|
Eek. Not only are they hardcoding the logic but they mix their CSS-specific code into the function. I understand that they are handling a limited number of cases now but if I came across that kind of code in my work I'd be very sceptical. |
|
Making something more complicated doesn't make it better. Make it more complicated when you need to, not before.