Skip to content

Commit

Permalink
Fix incorrect string types
Browse files Browse the repository at this point in the history
  • Loading branch information
salbahra committed Jun 7, 2020
1 parent 6fdae03 commit 5fc3af6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions www/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -11414,7 +11414,7 @@ function showTimeInput( opt ) {
"<div class='ui-content'>" +
( opt.helptext ? "<p class='pad-top rain-desc center smaller'>" + opt.helptext + "</p>" : "" ) +
"<span>" +
"<fieldset class='ui-grid-" + (isMetric ? 'a' : 'b') + " incr'>" +
"<fieldset class='ui-grid-" + (isMetric ? "a" : "b") + " incr'>" +
"<div class='ui-block-a'>" +
"<a href='#' data-role='button' data-mini='true' data-corners='true' data-icon='plus' data-iconpos='bottom'></a>" +
"</div>" +
Expand All @@ -11425,7 +11425,7 @@ function showTimeInput( opt ) {
"<a href='#' data-role='button' data-mini='true' data-corners='true' data-icon='plus' data-iconpos='bottom'></a>" +
"</div>") +
"</fieldset>" +
"<div class='ui-grid-" + (isMetric ? 'a' : 'b') + " inputs'>" +
"<div class='ui-grid-" + (isMetric ? "a" : "b") + " inputs'>" +
"<div class='ui-block-a'>" +
"<input data-wrapper-class='pad_buttons' class='hour dontPad' type='number' pattern='[0-9]*' value='" +
(isMetric ? pad( (opt.minutes / 60 >> 0) % 24 ) + "'>" : ( parseInt( opt.minutes / 60 ) % 12 === 0 ? 12 : parseInt( opt.minutes / 60 ) % 12 ) + "'>") +
Expand All @@ -11438,7 +11438,7 @@ function showTimeInput( opt ) {
"<p class='center period'>" + getPeriod() + "</p>" +
"</div>") +
"</div>" +
"<fieldset class='ui-grid-" + (isMetric ? 'a' : 'b') + " decr'>" +
"<fieldset class='ui-grid-" + (isMetric ? "a" : "b") + " decr'>" +
"<div class='ui-block-a'>" +
"<a href='#' data-role='button' data-mini='true' data-corners='true' data-icon='minus' data-iconpos='bottom'></a>" +
"</div>" +
Expand Down

0 comments on commit 5fc3af6

Please sign in to comment.