mirror of
https://github.com/ruanyf/es6tutorial.git
synced 2025-05-24 10:22:23 +00:00
feat: edit statistics code
This commit is contained in:
parent
33408fd3a3
commit
a6abc6775e
@ -355,6 +355,9 @@ function router() {
|
|||||||
|
|
||||||
// otherwise get the markdown and render it
|
// otherwise get the markdown and render it
|
||||||
var loading = show_loading();
|
var loading = show_loading();
|
||||||
|
|
||||||
|
statistics();
|
||||||
|
|
||||||
$.get(path, function(data) {
|
$.get(path, function(data) {
|
||||||
$(ditto.error_id).hide();
|
$(ditto.error_id).hide();
|
||||||
$(ditto.content_id).html(marked(data) + disqusCode);
|
$(ditto.content_id).html(marked(data) + disqusCode);
|
||||||
@ -423,8 +426,6 @@ function router() {
|
|||||||
$('#pagedown').css('display', 'inline-block');
|
$('#pagedown').css('display', 'inline-block');
|
||||||
}
|
}
|
||||||
|
|
||||||
statistics();
|
|
||||||
|
|
||||||
(function() {
|
(function() {
|
||||||
var $w = $(window);
|
var $w = $(window);
|
||||||
var $prog2 = $('.progress-indicator-2');
|
var $prog2 = $('.progress-indicator-2');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user