Skip to content
Snippets Groups Projects
Commit ea8a94e6 authored by syuilo's avatar syuilo
Browse files

Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop

parents 449709f6 25cac008
No related branches found
No related tags found
No related merge requests found
import * as config from '@/config';
export function popout(path: string, w?: HTMLElement) {
let url = path.startsWith('http://') || path.startsWith('https://') ? path : config.url + path;
url += '?zen'; // TODO: ちゃんとURLパースしてクエリ付ける
let url = path.startsWith('http://') || path.startsWith('https://') ? path : config.url + "/" + path;
url += '?zen';
if (w) {
const position = w.getBoundingClientRect();
const width = parseInt(getComputedStyle(w, '').width, 10);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment