From 68bfe0260a53936cb17a9208b159599e540b2eb3 Mon Sep 17 00:00:00 2001
From: Christoph Holtermann <c.holtermann@gmx.de>
Date: Thu, 5 Jul 2018 03:26:48 +0200
Subject: [PATCH] Fix typo (#6043)

typo: state instead of status
---
 app/views/embed/comments.html.erb    | 2 +-
 app/views/embed/embed_error.html.erb | 2 +-
 app/views/embed/loading.html.erb     | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

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>