Skip to content

Commit

Permalink
Fix errors in editing analog sensor config
Browse files Browse the repository at this point in the history
  • Loading branch information
salbahra committed Aug 7, 2023
1 parent 1e454da commit 31ec199
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions www/js/analog.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ function showAdjustmentsEditor( progAdjust, callback ) {

var list = "<div data-role='popup' data-theme='a' id='progAdjustEditor'>" +
"<div data-role='header' data-theme='b'>" +
"<h1>" + progAdjust.nr > 0 ? _( "Edit Program Adjustment" ) : _( "New Program Adjustment" ) + "</h1>" +
"<h1>" + ( progAdjust.nr > 0 ? _( "Edit Program Adjustment" ) : _( "New Program Adjustment" ) ) + "</h1>" +
"</div>" +

"<div class='ui-content'>" +
Expand Down Expand Up @@ -277,7 +277,7 @@ function showSensorEditor( sensor, callback ) {

var list = "<div data-role='popup' data-theme='a' id='sensorEditor'>" +
"<div data-role='header' data-theme='b'>" +
"<h1>" + sensor.nr > 0 ? _( "Edit Sensor" ) : _( "New Sensor" ) + "</h1>" +
"<h1>" + ( sensor.nr > 0 ? _( "Edit Sensor" ) : _( "New Sensor" ) ) + "</h1>" +
"</div>" +
"<div class='ui-content'>" +
"<p class='rain-desc center smaller'>" +
Expand Down

0 comments on commit 31ec199

Please sign in to comment.