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