Skip to content
Permalink
Browse files

Fixed bug where graph maximum may not always be current.

  • Loading branch information...
Mobius5150 committed Feb 12, 2014
1 parent a16b85a commit 4f34c677125515f65fc40a9c9303b97c8e03323d
Showing with 3 additions and 0 deletions.
  1. +3 −0 js/msm-sitemap-admin.js
@@ -77,6 +77,9 @@ jQuery( document ).ready( function() {
jQuery( '#sitemap-count' ).html( response['total_sitemaps'] );
jQuery( '#sitemap-indexed-url-count' ).html( response['total_indexed_urls'] );

// Make the maximum get calculated from the current dataset
max.count = -1;

var formatted_data = [];
for ( var e in response['sitemap_indexed_urls'] ) {
formatted_data.push( [ new Date(e).getTime(), response['sitemap_indexed_urls'][e], e ] );

0 comments on commit 4f34c67

Please sign in to comment.
You can’t perform that action at this time.