aboutsummaryrefslogtreecommitdiffstats
path: root/include/main.js
diff options
context:
space:
mode:
Diffstat (limited to 'include/main.js')
-rw-r--r--include/main.js11
1 files changed, 8 insertions, 3 deletions
diff --git a/include/main.js b/include/main.js
index d137d4c9c..fcd1d6fee 100644
--- a/include/main.js
+++ b/include/main.js
@@ -44,10 +44,11 @@
$('#pause').html('');
}
}
- if(event.keyCode == '36') {
- event.preventDefault();
- if(homebase)
+ if(event.keyCode == '36' && event.shiftKey == true) {
+ if(homebase !== undefined) {
+ event.preventDefault();
document.location = homebase;
+ }
}
});
});
@@ -82,8 +83,12 @@
if(mail == 0) { mail = ''; }
$('#mail-update').html(mail);
var intro = $(this).find('intro').text();
+ var register = $(this).find('register').text();
if(intro == 0) { intro = ''; }
+ if(register != 0 && intro != '') { intro = intro+'/'+register; }
+ if(register != 0 && intro == '') { intro = '0/'+register; }
$('#notify-update').html(intro);
+
});
}) ;
}