Skip to content

Commit

Permalink
fix: use relative path for haltif.js for hassio ingress
Browse files Browse the repository at this point in the history
  • Loading branch information
zachowj committed May 1, 2019
1 parent e222629 commit beb556a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion nodes/current-state/current-state.html
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@
$("#node-input-halt_if_compare").val("is");
}

$.getScript("/homeassistant/static/haltif.js", function() {
$.getScript("homeassistant/static/haltif.js", function() {
setupHaltIf(
"#node-input-halt_if",
"#node-input-halt_if_compare",
Expand Down
2 changes: 1 addition & 1 deletion nodes/events-state-changed/events-state-changed.html
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
$("#node-input-halt_if_compare").val("is");
}

$.getScript("/homeassistant/static/haltif.js", function() {
$.getScript("homeassistant/static/haltif.js", function() {
setupHaltIf("#node-input-haltifstate", "#node-input-halt_if_compare");
});
},
Expand Down
2 changes: 1 addition & 1 deletion nodes/poll-state/poll-state.html
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
$("#node-input-updateIntervalUnits").val("seconds");
}

$.getScript("/homeassistant/static/haltif.js", function() {
$.getScript("homeassistant/static/haltif.js", function() {
setupHaltIf("#node-input-halt_if", "#node-input-halt_if_compare");
});
},
Expand Down

0 comments on commit beb556a

Please sign in to comment.