mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-24 14:53:08 +02:00
インデクサーを忘れていた
This commit is contained in:
parent
9b989ebac6
commit
cb52ebe65b
2 changed files with 2 additions and 2 deletions
|
@ -186,7 +186,7 @@ export default Vue.extend({
|
||||||
this.$nextTick(() => this.watch());
|
this.$nextTick(() => this.watch());
|
||||||
|
|
||||||
const hashtags = [...document.getElementsByClassName('hashtag')];
|
const hashtags = [...document.getElementsByClassName('hashtag')];
|
||||||
const hashtagsContainer = hashtags.parentElement;
|
const hashtagsContainer = hashtags[0].parentElement;
|
||||||
let offsetX = 0
|
let offsetX = 0
|
||||||
const update = () => {
|
const update = () => {
|
||||||
if (hashtags[0].getBoundingClientRect().right <= hashtagsContainer.getBoundingClientRect().left) {
|
if (hashtags[0].getBoundingClientRect().right <= hashtagsContainer.getBoundingClientRect().left) {
|
||||||
|
|
|
@ -167,7 +167,7 @@ export default Vue.extend({
|
||||||
});
|
});
|
||||||
|
|
||||||
const hashtags = [...document.getElementsByClassName('hashtag')];
|
const hashtags = [...document.getElementsByClassName('hashtag')];
|
||||||
const hashtagsContainer = hashtags.parentElement;
|
const hashtagsContainer = hashtags[0].parentElement;
|
||||||
let offsetX = 0
|
let offsetX = 0
|
||||||
const update = () => {
|
const update = () => {
|
||||||
if (hashtags[0].getBoundingClientRect().right <= hashtagsContainer.getBoundingClientRect().left) {
|
if (hashtags[0].getBoundingClientRect().right <= hashtagsContainer.getBoundingClientRect().left) {
|
||||||
|
|
Loading…
Reference in a new issue