mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-23 01:13:48 +01:00
インデクサーを忘れていた
This commit is contained in:
parent
22a1b0c8f0
commit
2c68f95ff3
@ -186,7 +186,7 @@ export default Vue.extend({
|
||||
this.$nextTick(() => this.watch());
|
||||
|
||||
const hashtags = [...document.getElementsByClassName('hashtag')];
|
||||
const hashtagsContainer = hashtags.parentElement;
|
||||
const hashtagsContainer = hashtags[0].parentElement;
|
||||
let offsetX = 0
|
||||
const update = () => {
|
||||
if (hashtags[0].getBoundingClientRect().right <= hashtagsContainer.getBoundingClientRect().left) {
|
||||
|
@ -167,7 +167,7 @@ export default Vue.extend({
|
||||
});
|
||||
|
||||
const hashtags = [...document.getElementsByClassName('hashtag')];
|
||||
const hashtagsContainer = hashtags.parentElement;
|
||||
const hashtagsContainer = hashtags[0].parentElement;
|
||||
let offsetX = 0
|
||||
const update = () => {
|
||||
if (hashtags[0].getBoundingClientRect().right <= hashtagsContainer.getBoundingClientRect().left) {
|
||||
|
Loading…
Reference in New Issue
Block a user