summaryrefslogtreecommitdiff
path: root/www/js
diff options
context:
space:
mode:
authorPeter Grassberger <petertheone@gmail.com>2015-07-31 20:04:27 (GMT)
committerPeter Grassberger <petertheone@gmail.com>2015-07-31 20:04:27 (GMT)
commit032b6bcaf2b6811144325e504d6d7edfa248c508 (patch)
treee868b734270bac11e4c7b05d845635eea64a061b /www/js
parentad9a595d4418eb9a3ad548ef672bb0c069287c46 (diff)
fix indentation
Diffstat (limited to 'www/js')
-rw-r--r--www/js/apps.js60
1 files changed, 30 insertions, 30 deletions
diff --git a/www/js/apps.js b/www/js/apps.js
index af5cd6d..a351925 100644
--- a/www/js/apps.js
+++ b/www/js/apps.js
@@ -22,42 +22,42 @@
var apps_current;
function apps_select(app) {
- switch(app) {
- case "musicpools":
- $('#app-shows').hide();
- $('#nav-btn-shows').removeClass('active');
- $('#app-jingles').hide();
- $('#nav-btn-jingles').removeClass('active');
+ switch(app) {
+ case "musicpools":
+ $('#app-shows').hide();
+ $('#nav-btn-shows').removeClass('active');
+ $('#app-jingles').hide();
+ $('#nav-btn-jingles').removeClass('active');
- $('#app-musicpools').show();
- $('#nav-btn-musicpools').addClass('active');
+ $('#app-musicpools').show();
+ $('#nav-btn-musicpools').addClass('active');
- apps_current = app;
- musicpools_init();
- break;
- case "jingles":
- $('#app-shows').hide();
- $('#nav-btn-shows').removeClass('active');
- $('#app-musicpools').hide();
- $('#nav-btn-musicpools').removeClass('active');
+ apps_current = app;
+ musicpools_init();
+ break;
+ case "jingles":
+ $('#app-shows').hide();
+ $('#nav-btn-shows').removeClass('active');
+ $('#app-musicpools').hide();
+ $('#nav-btn-musicpools').removeClass('active');
- $('#app-jingles').show();
- $('#nav-btn-jingles').addClass('active');
+ $('#app-jingles').show();
+ $('#nav-btn-jingles').addClass('active');
- apps_current = app;
- jingles_init();
- break;
- default:
- $('#app-jingles').hide();
- $('#nav-btn-jingles').removeClass('active');
- $('#app-musicpools').hide();
- $('#nav-btn-musicpools').removeClass('active');
+ apps_current = app;
+ jingles_init();
+ break;
+ default:
+ $('#app-jingles').hide();
+ $('#nav-btn-jingles').removeClass('active');
+ $('#app-musicpools').hide();
+ $('#nav-btn-musicpools').removeClass('active');
- $('#app-shows').show();
- $('#nav-btn-shows').addClass('active');
+ $('#app-shows').show();
+ $('#nav-btn-shows').addClass('active');
- apps_current = app = 'shows';
- shows_init();
+ apps_current = app = 'shows';
+ shows_init();
}
if (locationHashValue() !== app) {
history.pushState(null, null, '/#' + app + '/');