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
{{ message }}
This repository has been archived by the owner on May 16, 2021. It is now read-only.
This makes the theme incompatible with the reviews plugin as the Uniform script adjusts the DOM which breaks the star-rating.js script. This is primarily a CSS issue as I could fix this (and likely will) by un-setting all of the CSS rules that Uniform sets on the star-rating control.
However, a far simpler solution would be for the Uniform script to check for a particular class, which if exists, would tell Uniform not to transform the element.
e.g.
<!-- Do not transform elements that have the ".browser-default" CSS class --><selectclass="browser-default"> ... </select>
The text was updated successfully, but these errors were encountered:
I am the author of star-rating.js, a script that transforms a SELECT rating field into a star rating control.
I use this script in a WordPress plugin that provides ratings and reviews.
When the Uniform script is used in WordPress themes, it usually is triggered on all form fields, i.e
This makes the theme incompatible with the reviews plugin as the Uniform script adjusts the DOM which breaks the star-rating.js script. This is primarily a CSS issue as I could fix this (and likely will) by un-setting all of the CSS rules that Uniform sets on the star-rating control.
However, a far simpler solution would be for the Uniform script to check for a particular class, which if exists, would tell Uniform not to transform the element.
e.g.
The text was updated successfully, but these errors were encountered: