fix(view): fix code styles
This commit is contained in:
parent
199a9d1c05
commit
3456f8fd20
|
@ -1,4 +1,4 @@
|
||||||
(function () {
|
(function() {
|
||||||
function $() {
|
function $() {
|
||||||
return Array.prototype.slice.call(document.querySelectorAll.apply(document, arguments));
|
return Array.prototype.slice.call(document.querySelectorAll.apply(document, arguments));
|
||||||
}
|
}
|
||||||
|
@ -11,7 +11,7 @@
|
||||||
[
|
[
|
||||||
'.column-main > .card, .column-main > .pagination, .column-main > .post-navigation',
|
'.column-main > .card, .column-main > .pagination, .column-main > .post-navigation',
|
||||||
'.column-left > .card, .column-right-shadow > .card',
|
'.column-left > .card, .column-right-shadow > .card',
|
||||||
'.column-right > .card',
|
'.column-right > .card'
|
||||||
].forEach(selector => {
|
].forEach(selector => {
|
||||||
$(selector).forEach(element => {
|
$(selector).forEach(element => {
|
||||||
element.style.transition = '0s';
|
element.style.transition = '0s';
|
||||||
|
@ -37,7 +37,7 @@
|
||||||
[
|
[
|
||||||
'.column-main > .card, .column-main > .pagination, .column-main > .post-navigation',
|
'.column-main > .card, .column-main > .pagination, .column-main > .post-navigation',
|
||||||
'.column-left > .card, .column-right-shadow > .card',
|
'.column-left > .card, .column-right-shadow > .card',
|
||||||
'.column-right > .card',
|
'.column-right > .card'
|
||||||
].forEach(selector => {
|
].forEach(selector => {
|
||||||
$(selector).forEach(element => {
|
$(selector).forEach(element => {
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
|
@ -56,4 +56,4 @@
|
||||||
}, i * 100);
|
}, i * 100);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
})();
|
}());
|
||||||
|
|
Loading…
Reference in New Issue