You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I guess a listener is needed once the switch is pressed. But not only that, you also need to listen to any changes made in "Edit your food preferences" section as the icons will disappear too.
Since any change made there redraws all the products in the list, therefore the buttons disappear.
#93 will somewhat fix this. Only the switch part and not the food preferences.
That switch appears on the page like 3 seconds later after onLoad gets called... So I used a Timeout callback which gets called after 5secs. Which is a hacky solution and might not work for users that have slower internet speed.
What
The text was updated successfully, but these errors were encountered: