| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
window.onSetActiveTab = function () { |
| 11 |
setActiveTab(this); |
| 12 |
}; |
| 13 |
|
| 14 |
|
| 15 |
window.reactivateReload = function () { |
| 16 |
setTimeout(function(){ window.location.reload(); }, 500); |
| 17 |
}; |
| 18 |
|
| 19 |
|
| 20 |
window.blogTabNav = function () { |
| 21 |
setTimeout(function(){document.getElementById('tab-blog').click()},100); |
| 22 |
}; |
| 23 |
|
| 24 |
|
| 25 |
window.onCopyItemId = function (id) { |
| 26 |
navigator.clipboard.writeText(id); this.textContent='Copied!'; setTimeout(()=>this.textContent='Copy Item ID', 1500); |
| 27 |
}; |
| 28 |
|
| 29 |
|
| 30 |
|
| 31 |
window.confirmResetPage = function () { |
| 32 |
if (confirm('Reset this page to the platform default? This clears your custom HTML and CSS.')) this.submit(); |
| 33 |
}; |
| 34 |
|