Allow float values for opacity, remove empty check if float value is 0
This commit is contained in:
@ -125,7 +125,7 @@ class CWV2_Settings {
|
||||
}
|
||||
}
|
||||
|
||||
?><input type="number" name="<?php echo $field_id; ?>" value="<?php echo intval( $option_value ); ?>" id="<?php echo $field_id; ?>" <?php echo $attributes; ?>/><?php
|
||||
?><input type="number" name="<?php echo $field_id; ?>" value="<?php echo $option_value; ?>" id="<?php echo $field_id; ?>" <?php echo $attributes; ?>/><?php
|
||||
|
||||
if ( ! empty( $description ) ) {
|
||||
?><p class="description"><?php echo $description; ?></p><?php
|
||||
|
Reference in New Issue
Block a user