Add files via upload

master
Manas Khurana 2018-05-16 16:51:42 +05:30 committed by GitHub
parent c5dc63e32e
commit 157e29df1e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 5 deletions

View File

@ -4,9 +4,9 @@ var shareswitch = 0;
var navState = [0, 0]; var navState = [0, 0];
var views = []; var views = [];
var extraswitch = 0; var extraswitch = 0;
var myLineChart2; var myLineChart2 = {};
var myLineChart3; var myLineChart3 = {};
var myLineChart4; var myLineChart4 = {};
var vids = 5; var vids = 5;
// just to ensure that the correct page is loaded iframe and http is checked again // just to ensure that the correct page is loaded iframe and http is checked again
if (!developmentMode) { if (!developmentMode) {
@ -505,6 +505,8 @@ function extrabutton() {
changeText(document.getElementById('totalVideos'), b.items[0].statistics.videoCount.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ',')); changeText(document.getElementById('totalVideos'), b.items[0].statistics.videoCount.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ','));
changeText(document.getElementById('totalViews'), b.items[0].statistics.viewCount.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ',')); changeText(document.getElementById('totalViews'), b.items[0].statistics.viewCount.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ','));
}); });
firstload = 1;
upCharts();
}); });
}); });
}, function () { }, function () {
@ -513,8 +515,6 @@ function extrabutton() {
} catch (e) { } catch (e) {
noConnection(e); noConnection(e);
} }
firstload = 1;
upCharts();
} else { } else {
document.getElementById('showextra').innerHTML = 'SHOW STATS'; document.getElementById('showextra').innerHTML = 'SHOW STATS';
if (extraswitch === 0) { if (extraswitch === 0) {