Merge remote-tracking branch 'misskey/develop' into develop
This commit is contained in:
commit
405b4a5136
2 changed files with 2 additions and 2 deletions
|
@ -68,7 +68,7 @@ let tweetHeight = $ref(150);
|
||||||
|
|
||||||
const requestUrl = new URL(props.url);
|
const requestUrl = new URL(props.url);
|
||||||
|
|
||||||
if (requestUrl.hostname === 'twitter.com') {
|
if (requestUrl.hostname === 'twitter.com' || requestUrl.hostname === 'mobile.twitter.com') {
|
||||||
const m = requestUrl.pathname.match(/^\/.+\/status(?:es)?\/(\d+)/);
|
const m = requestUrl.pathname.match(/^\/.+\/status(?:es)?\/(\d+)/);
|
||||||
if (m) tweetId = m[1];
|
if (m) tweetId = m[1];
|
||||||
}
|
}
|
||||||
|
|
|
@ -90,7 +90,7 @@ async function edit(type) {
|
||||||
},
|
},
|
||||||
volume: {
|
volume: {
|
||||||
type: 'range',
|
type: 'range',
|
||||||
mim: 0,
|
min: 0,
|
||||||
max: 1,
|
max: 1,
|
||||||
step: 0.05,
|
step: 0.05,
|
||||||
textConverter: (v) => `${Math.floor(v * 100)}%`,
|
textConverter: (v) => `${Math.floor(v * 100)}%`,
|
||||||
|
|
Loading…
Reference in a new issue