diff options
Diffstat (limited to 'static/functions/push_settings.js')
-rw-r--r-- | static/functions/push_settings.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/static/functions/push_settings.js b/static/functions/push_settings.js index 218270f..685971c 100644 --- a/static/functions/push_settings.js +++ b/static/functions/push_settings.js @@ -2,16 +2,16 @@ var PUSHOVER = 5; var TOASTY = 4; $(document).ready(function() { - if($("#pushservice").val() > 0) { + if ($("#pushservice").val() > 0) { $('#pushsettings').show(); } $("#pushservice").change(function() { - if($(this).val() > 0) { + if ($(this).val() > 0) { $('#pushsettings').show(500); - if($(this).val() == TOASTY) { + if ($(this).val() == TOASTY) { $('#pushservice_title').text("Device ID"); - } else if($(this).val() == PUSHOVER) { + } else if ($(this).val() == PUSHOVER) { $('#pushservice_title').text("User Key"); } else { $('#pushservice_title').text("API Key"); |