قرینه از
https://github.com/matomo-org/matomo.git
synced 2025-08-22 06:57:53 +00:00
44 خطوط
1.5 KiB
JavaScript
44 خطوط
1.5 KiB
JavaScript
$(document).ready(function () {
|
|
|
|
function updateSystemCheck() {
|
|
$('.system-check tr:contains(Time) td:nth-child(2)').text('Not showing in tests');
|
|
$('.system-check tr:contains(Datetime) td:nth-child(2)').text('Not showing in tests');
|
|
$('.system-check tr:contains(Version) td:nth-child(2)').text('Not showing in tests');
|
|
$('.system-check tr:contains(User Agent) td:nth-child(2)').text('Not showing in tests');
|
|
$('.system-check tr:contains(PHP_BINARY) td:nth-child(2)').text('Not showing in tests');
|
|
$('.system-check tr:contains(Server Info) td:nth-child(2)').text('Not showing in tests');
|
|
$('.system-check tr:contains(PHP Disabled functions)').hide();
|
|
}
|
|
updateSystemCheck();
|
|
|
|
if (window.piwikHelper) {
|
|
setTimeout(function () {
|
|
// because of vue rendering replacing the content potentially...
|
|
updateSystemCheck();
|
|
setTimeout(function () {
|
|
updateSystemCheck();
|
|
}, 100);
|
|
});
|
|
}
|
|
|
|
$('.ui-inline-help:contains(UTC time is)').hide();
|
|
|
|
$('[notification-id=ControllerAdmin_HttpIsUsed]').hide();
|
|
|
|
$.fx.off = true;
|
|
|
|
// disable materialize animations (Materialize version > 1)
|
|
if (typeof M !== 'undefined' && M.anime) {
|
|
var oldAnime = M.anime;
|
|
M.anime = function (params) {
|
|
if (!params) {
|
|
params = {};
|
|
}
|
|
params.duration = 0;
|
|
return oldAnime(params);
|
|
};
|
|
} else if ($.Velocity) {
|
|
$.Velocity.mock = true;
|
|
}
|
|
});
|