mirror of
https://github.com/torappinfo/uweb.git
synced 2024-08-14 23:54:59 +00:00
fix gitee commenting
This commit is contained in:
parent
1744d90c59
commit
7d1b8278b9
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@
|
|||
let ogtitleMeta = document.querySelector("meta[property='og:title'],meta[name='og:title']");
|
||||
attrs['og:title'] = ogtitleMeta ? ogtitleMeta.content : '';
|
||||
document.head.insertAdjacentHTML('afterbegin', "<style>.Gissues{position:relative;box-sizing:border-box;width:100%;margin-left:auto;margin-right:auto;}.Gissues-frame{position:absolute;left:0;right:0;width:1px;min-width:100%;max-width:100%;height:100%;border:0;}</style>");
|
||||
let Origin = "https://gissues.gitee.io";
|
||||
let Origin = "https://cleve.gitee.io/gissues";
|
||||
let url = Origin + "/Gissues.html";
|
||||
script.insertAdjacentHTML('afterend', "<div class='Gissues'><iframe class='Gissues-frame' title='Comments' scrolling='no' src='" + url + "?" + (0, param)(attrs) + "'></iframe></div>");
|
||||
let container = script.nextElementSibling;
|
||||
|
|
Loading…
Reference in a new issue