mirror of
https://github.com/discourse/discourse.git
synced 2025-09-05 08:59:27 +08:00
Make embedded comments look nicer
This commit is contained in:
parent
fd36fa1c2f
commit
1ffcf39448
10 changed files with 69 additions and 22 deletions
|
@ -4,7 +4,7 @@
|
|||
|
||||
var comments = document.getElementById('discourse-comments'),
|
||||
iframe = document.createElement('iframe');
|
||||
iframe.src = discourseUrl + "embed/best?embed_url=" + encodeURIComponent(discourseEmbedUrl);
|
||||
iframe.src = discourseUrl + "embed/comments?embed_url=" + encodeURIComponent(discourseEmbedUrl);
|
||||
iframe.id = 'discourse-embed-frame';
|
||||
iframe.width = "100%";
|
||||
iframe.frameBorder = "0";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue