summaryrefslogtreecommitdiffstats
path: root/static/functions/push_settings.js
diff options
context:
space:
mode:
authorGit <git@what.cd>2013-04-30 18:18:07 +0000
committerGit <git@what.cd>2013-04-30 18:18:07 +0000
commitb055e9c6f1189ea4f2b9649de1ce63548d2d1b2b (patch)
treecf5b4d9bf8b985adfb6923b737dc3929c0f66727 /static/functions/push_settings.js
parent0a565870d9727b0913e9ec0775380d786fde418d (diff)
downloadGazelle-b055e9c6f1189ea4f2b9649de1ce63548d2d1b2b.zip
Gazelle-b055e9c6f1189ea4f2b9649de1ce63548d2d1b2b.tar.gz
Gazelle-b055e9c6f1189ea4f2b9649de1ce63548d2d1b2b.tar.bz2
Empty commit
Diffstat (limited to 'static/functions/push_settings.js')
-rw-r--r--static/functions/push_settings.js8
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");