mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-11-22 22:15:12 +00:00
非ログイン時にエラーが発生していたのを修正 (#5872)
This commit is contained in:
parent
09a3a977d7
commit
53bb5012b9
1 changed files with 3 additions and 1 deletions
|
@ -248,6 +248,8 @@ export default Vue.extend({
|
||||||
// https://stackoverflow.com/questions/33891709/when-flexbox-items-wrap-in-column-mode-container-does-not-grow-its-width
|
// https://stackoverflow.com/questions/33891709/when-flexbox-items-wrap-in-column-mode-container-does-not-grow-its-width
|
||||||
if (this.enableWidgets) {
|
if (this.enableWidgets) {
|
||||||
setInterval(() => {
|
setInterval(() => {
|
||||||
|
if (!this.$refs.widgetsEditButton) return;
|
||||||
|
|
||||||
const width = this.$refs.widgetsEditButton.offsetLeft + 300;
|
const width = this.$refs.widgetsEditButton.offsetLeft + 300;
|
||||||
this.$refs.widgets.style.width = width + 'px';
|
this.$refs.widgets.style.width = width + 'px';
|
||||||
}, 1000);
|
}, 1000);
|
||||||
|
@ -258,7 +260,7 @@ export default Vue.extend({
|
||||||
help() {
|
help() {
|
||||||
this.$router.push('/docs/keyboard-shortcut');
|
this.$router.push('/docs/keyboard-shortcut');
|
||||||
},
|
},
|
||||||
|
|
||||||
back() {
|
back() {
|
||||||
if (this.canBack) window.history.back();
|
if (this.canBack) window.history.back();
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue