js
This commit is contained in:
parent
f09dd04627
commit
8c900de458
10
main.js
10
main.js
|
@ -1,5 +1,5 @@
|
||||||
try {
|
window.addEventListener('load', function() {
|
||||||
(function() {
|
try {
|
||||||
var inputs = document.querySelectorAll('input[type="text"], input[autofocus], input[placeholder]');
|
var inputs = document.querySelectorAll('input[type="text"], input[autofocus], input[placeholder]');
|
||||||
var inputsLength = inputs.length;
|
var inputsLength = inputs.length;
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@ try {
|
||||||
}
|
}
|
||||||
|
|
||||||
var profile = document.querySelector('.profile');
|
var profile = document.querySelector('.profile');
|
||||||
|
|
||||||
if (profile) {
|
if (profile) {
|
||||||
var currentTab = profile.querySelector('.menu a.item.active');
|
var currentTab = profile.querySelector('.menu a.item.active');
|
||||||
|
|
||||||
|
@ -36,5 +36,5 @@ try {
|
||||||
window.clearInterval(stylusInterval);
|
window.clearInterval(stylusInterval);
|
||||||
}
|
}
|
||||||
}, 100);
|
}, 100);
|
||||||
})();
|
} catch (e) {}
|
||||||
} catch(e) {}
|
});
|
||||||
|
|
Loading…
Reference in a new issue