remove useless code
This commit is contained in:
parent
579ccea03e
commit
ebf288ff70
23
main.js
23
main.js
|
@ -1,23 +0,0 @@
|
||||||
window.addEventListener('load', function() {
|
|
||||||
try {
|
|
||||||
/*
|
|
||||||
var inputs = document.querySelectorAll('input[type="text"], input[autofocus], input[placeholder]');
|
|
||||||
var inputsLength = inputs.length;
|
|
||||||
|
|
||||||
for (var u = 0; u < inputsLength; u++) {
|
|
||||||
inputs[u].blur();
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
var stylusInterval = window.setInterval(function() {
|
|
||||||
var stylus = document.querySelector('style.stylus');
|
|
||||||
|
|
||||||
if (stylus && !stylus.getAttribute('data-clean')) {
|
|
||||||
stylus.innerHTML = '';
|
|
||||||
stylus.setAttribute('data-clean', 1);
|
|
||||||
window.clearInterval(stylusInterval);
|
|
||||||
}
|
|
||||||
}, 100);
|
|
||||||
*/
|
|
||||||
} catch (e) {}
|
|
||||||
});
|
|
Loading…
Reference in a new issue