Skip to content

A platform for community discussion. Free, open, simple.

Fix typo (#6043)

Christoph Holtermann68bfe0260a53
diff --git a/app/views/embed/comments.html.erb b/app/views/embed/comments.html.erb
index b00805e8dc6..25735bfc4a9 100644
--- a/app/views/embed/comments.html.erb
+++ b/app/views/embed/comments.html.erb
@@ -1,4 +1,4 @@
-<header class='discourse' data-embed-status='loaded'>
+<header class='discourse' data-embed-state='loaded'>
<% if @topic_view.topic.posts_count < 2 %>
<%= link_to(I18n.t('embed.start_discussion'), @topic_view.topic.url, class: 'button', target: '_blank') %>
<% elsif @topic_view.topic.posts_count > 10 %>
diff --git a/app/views/embed/embed_error.html.erb b/app/views/embed/embed_error.html.erb
index eac85f13edb..b6b1121b80c 100644
--- a/app/views/embed/embed_error.html.erb
+++ b/app/views/embed/embed_error.html.erb
@@ -1,4 +1,4 @@
-<header class='discourse' data-embed-status='error'>
+<header class='discourse' data-embed-state='error'>
<h3><%= t 'embed.error' %></h3>
<%= link_to(image_tag(SiteSetting.logo_url, class: 'logo'), Discourse.base_url) %>
<div class='clearfix'></div>
diff --git a/app/views/embed/loading.html.erb b/app/views/embed/loading.html.erb
index 52e6636b1c2..ccb68dbdf46 100644
--- a/app/views/embed/loading.html.erb
+++ b/app/views/embed/loading.html.erb
@@ -1,4 +1,4 @@
-<header class='discourse' data-embed-status='loading'>
+<header class='discourse' data-embed-state='loading'>
<h3><%= t 'embed.loading' %></h3>
<%= link_to(image_tag(SiteSetting.logo_url, class: 'logo'), Discourse.base_url) %>
<div class='clearfix'></div>