1
0
قرینه از https://github.com/matomo-org/matomo.git synced 2025-08-21 22:47:43 +00:00
Files
matomo/plugins/Installation/javascripts/installation.js
Lukas Winkler 668ab5a924 better adblock detection (#12493)
* better adblock detection

also check for CSS and JS

* Move the adblock notice messages to the bottom
2018-03-23 16:46:55 +13:00

24 خطوط
597 B
JavaScript

$(function () {
$('input:first').focus();
$('code').click(function () {
$(this).select();
});
// Focus the first input field in the form
$('form:not(.filter) :input:visible:enabled:first').focus();
$('select').material_select();
});
$(document).ready(function() {
$('.form-help').each(function (index, help) {
var $help = $(help);
var $row = $help.parents('.row').first();
if ($row.length) {
$help.addClass('col s12 m12 l6');
$row.append($help);
}
});
$(".should-get-hidden-by-js").hide();
});