File Editor
Directories:
.. (Back)
chartjs
datepicker
jqvmap
select2
Files:
admin.min.js
mini-chart.js
mini-chart.min.js
tinymce.min.js
tracker.js
tracker.min.js
Create New File
Create
Edit File: mini-chart.js
document.addEventListener("DOMContentLoaded",function(){document.querySelectorAll(".wp-statistics-global-data:not(.disabled), .wp-statistics-current-page-data:not(.disabled)").forEach(function(a){a.addEventListener("click",function(t){a.classList.contains("disabled")||("a"==t.target.tagName.toLowerCase()||"button"==t.target.tagName.toLowerCase()||t.target.classList.contains("wps-admin-bar__chart__unlock-button")||t.preventDefault(),document.querySelectorAll(".wp-statistics-global-data .ab-sub-wrapper, .wp-statistics-current-page-data .ab-sub-wrapper").forEach(function(t){t.style.display="none"}),a.querySelector(".ab-sub-wrapper").style.display="block",document.querySelectorAll(".wp-statistics-global-data, .wp-statistics-current-page-data").forEach(function(t){t.classList.remove("active")}),a.classList.toggle("active"))})});var t=document.querySelector(".wp-statistics-global-data");null!=t&&t.click()});
Save Changes
Rename File
Rename