Commit d40ab853 authored by Peter Droogmans's avatar Peter Droogmans
Browse files

dpm removed from code

parent da1ec364
......@@ -67,7 +67,7 @@ function clientside_validation_html5($form_id, $element, &$js_rules) {
$min = isset($element['#min']) ? $element['#min'] : $default_min;
$max = isset($element['#max']) ? $element['#max'] : $default_max;
$step = isset($element['#step']) ? $element['#step'] : 1;
dpm(strtolower($step) != 'any', 'step');
$is_decimal = strtolower($step) == 'any' || (floor($step) != $step || floor($min) != $min);
if ($is_decimal) {
_clientside_validation_set_number_decimal($el_name, $el_title, '.', $js_rules);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment