From 2139f4b4c24fd878ec64fd2f9bc752e56eac2a61 Mon Sep 17 00:00:00 2001
From: Steffen van Bergerem <svbergerem@online.de>
Date: Mon, 12 Sep 2016 12:45:39 +0200
Subject: [PATCH] Use div instead of span for loader

closes #7091
---
 Changelog.md                          | 2 +-
 app/views/aspects/_aspect_stream.haml | 2 +-
 app/views/contacts/index.html.haml    | 2 +-
 app/views/people/show.html.haml       | 2 +-
 app/views/tags/show.haml              | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/Changelog.md b/Changelog.md
index a4ccbed7d0..9ef972d60b 100644
--- a/Changelog.md
+++ b/Changelog.md
@@ -6,7 +6,7 @@
 * Make the session cookies HttpOnly again [#7041](https://github.com/diaspora/diaspora/pull/7041)
 * Invalidate sessions with invalid CSRF tokens [#7050](https://github.com/diaspora/diaspora/pull/7050)
 * Liking a post will no longer update its interacted timestamp [#7030](https://github.com/diaspora/diaspora/pull/7030)
-* Improve W3C compliance [#7068](https://github.com/diaspora/diaspora/pull/7068) [#7082](https://github.com/diaspora/diaspora/pull/7082)
+* Improve W3C compliance [#7068](https://github.com/diaspora/diaspora/pull/7068) [#7082](https://github.com/diaspora/diaspora/pull/7082) [#7091](https://github.com/diaspora/diaspora/pull/7091)
 * Load jQuery in the head on mobile [#7086](https://github.com/diaspora/diaspora/pull/7086)
 
 ## Bug fixes
diff --git a/app/views/aspects/_aspect_stream.haml b/app/views/aspects/_aspect_stream.haml
index 62c4a48110..7154d0f505 100644
--- a/app/views/aspects/_aspect_stream.haml
+++ b/app/views/aspects/_aspect_stream.haml
@@ -14,7 +14,7 @@
   .stream#main_stream
 
 #paginate
-  %span.loader.hidden
+  .loader.hidden
     .spinner
 
 - if current_user.contacts.size < 2
diff --git a/app/views/contacts/index.html.haml b/app/views/contacts/index.html.haml
index 2a8de4f326..dffe8db21d 100644
--- a/app/views/contacts/index.html.haml
+++ b/app/views/contacts/index.html.haml
@@ -30,7 +30,7 @@
                 = t('invitations.new.invite_someone_to_join')
 
       #paginate
-        %span.loader.hidden
+        .loader.hidden
           .spinner
 
 -if @aspect
diff --git a/app/views/people/show.html.haml b/app/views/people/show.html.haml
index f1fe794ca8..0eae5e3364 100644
--- a/app/views/people/show.html.haml
+++ b/app/views/people/show.html.haml
@@ -27,7 +27,7 @@
           -# JS
 
         #paginate
-          %span.loader.hidden
+          .loader.hidden
             .spinner
 
       %a.entypo-chevron-up.back-to-top#back-to-top{title: "#{t('layouts.application.back_to_top')}", href: "#"}
diff --git a/app/views/tags/show.haml b/app/views/tags/show.haml
index 19e202a38f..96539ecd01 100644
--- a/app/views/tags/show.haml
+++ b/app/views/tags/show.haml
@@ -31,7 +31,7 @@
         #main_stream.stream
 
         #paginate
-          %span.loader.hidden
+          .loader.hidden
             .spinner
 
       %a.entypo-chevron-up.back-to-top#back-to-top{title: "#{t('layouts.application.back_to_top')}", href: "#"}
-- 
GitLab