A platform for community discussion. Free, open, simple.
Update embed.html.erb
Christoph Holtermann5914a3db20d7
diff --git a/app/views/layouts/embed.html.erb b/app/views/layouts/embed.html.erbindex f17a2c5e9e3..cb1feab05a6 100644--- a/app/views/layouts/embed.html.erb+++ b/app/views/layouts/embed.html.erb@@ -39,8 +39,8 @@window.onload = function() {var state = "loading";- if (document.querySelectorAll("a.replies").length > 0) {- var state = "loaded";+ if (document.querySelectorAll("span.replies").length > 0) {+ state = "loaded";}// Send a post message with our loaded height and statepostUp({type: 'discourse-resize', height: document['body'].offsetHeight, state: state});