File Editor
Directories:
.. (Back)
Files:
admin.min.asset.php
admin.min.js
milestone.min.asset.php
milestone.min.js
Create New File
Create
Edit File: milestone.min.js
(()=>{var e=function(){var e=function(e){var n=document.getElementById(e.content_id),t=e.id,i=1e3*e.refresh;this.timer=function(){var e=this,o=new XMLHttpRequest;o.onload=function(){var t=JSON.parse(o.responseText),s=o.status>=200&&o.status<300,r=void 0!==t.message&&void 0!==t.refresh;if(s&&r){if(n.querySelector(".milestone-countdown").outerHTML=t.message,!(i=1e3*t.refresh))return;setTimeout((function(){e.timer()}),i)}},o.open("GET",MilestoneConfig.api_root+"jetpack/v4/widgets/"+t),o.send()},i>0&&this.timer()};return function(n){return new e(n)}}();!function(){var n,t={};if("undefined"!=typeof MilestoneConfig)for(n=0;n<MilestoneConfig.instances.length;n++)t[n]=new e(MilestoneConfig.instances[n])}()})();
Save Changes
Rename File
Rename