Don't show graph on mobile browsers

This commit is contained in:
Cryptkeeper
2015-12-18 19:00:57 -06:00
parent a426a6afa2
commit 88173ead11
3 changed files with 16 additions and 3 deletions

View File

@ -233,6 +233,10 @@ $(document).ready(function() {
socket.on('connect', function() {
$('#tagline-text').text('Loading...');
if (!isMobileBrowser()) {
socket.emit('requestHistoryGraph');
}
});
socket.on('disconnect', function() {