Skip to content

Commit 3e9f406

Browse files
committed
bug fixes
1 parent d41fe92 commit 3e9f406

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

settings.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
class Settings:
2-
release = "https://cdn.rawgit.com/odedtgr/SmartHome/3/static/"
2+
release = "https://cdn.rawgit.com/odedtgr/SmartHome/v1.3/static/"
3+
34
HOME_NAME = "Tagar"
45
users = {"Oded":"Stamir47",
56
"Maya":"Stamir47"}

static/js/devices.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ function device_changed(control) {
3939
attr = air_conditioner_attr(device_row, control.find('.deviceOn').attr('val') === 'on_off');
4040
else if(device_type === 'light') {
4141
attr = light_attr(device_row);
42-
$(device_row).find('.btn-danger').removeClass("btn-danger").addClass("btn-default")
43-
$(device_row).find('.btn-primary').removeClass("btn-primary").addClass("btn-default")
42+
$(device_row).find('.btn-danger').removeClass("btn-danger").addClass("btn-default");
43+
$(device_row).find('.btn-primary').removeClass("btn-primary").addClass("btn-default");
4444
}
4545
update_device(device_id, attr);
4646
}

static/js/devices.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)