This commit is contained in:
Simon Vieille 2018-10-21 00:39:28 +02:00
parent f09dd04627
commit 8c900de458
Signed by: deblan
GPG Key ID: 03383D15A1D31745
1 changed files with 5 additions and 5 deletions

10
main.js
View File

@ -1,5 +1,5 @@
try {
(function() {
window.addEventListener('load', function() {
try {
var inputs = document.querySelectorAll('input[type="text"], input[autofocus], input[placeholder]');
var inputsLength = inputs.length;
@ -8,7 +8,7 @@ try {
}
var profile = document.querySelector('.profile');
if (profile) {
var currentTab = profile.querySelector('.menu a.item.active');
@ -36,5 +36,5 @@ try {
window.clearInterval(stylusInterval);
}
}, 100);
})();
} catch(e) {}
} catch (e) {}
});