Skip to content

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

DEV: Remove unused `offscreen-content` (#13133)

Jarek Radosz9b9b601e2f69
diff --git a/app/assets/javascripts/discourse/app/index.html b/app/assets/javascripts/discourse/app/index.html
index 848e92b3d18..1fedae93aee 100644
--- a/app/assets/javascripts/discourse/app/index.html
+++ b/app/assets/javascripts/discourse/app/index.html
@@ -25,9 +25,6 @@
<section id='main'>
</section>
- <div id='offscreen-content'>
- </div>
-
<bootstrap-content key="hidden-login-form">
<bootstrap-content key="preloaded">
diff --git a/app/assets/stylesheets/common/foundation/base.scss b/app/assets/stylesheets/common/foundation/base.scss
index cdb409a97e4..9cee56cda14 100644
--- a/app/assets/stylesheets/common/foundation/base.scss
+++ b/app/assets/stylesheets/common/foundation/base.scss
@@ -121,10 +121,6 @@ pre code {
clear: both;
}
-#offscreen-content {
- display: none;
-}
-
// Tables
// --------------------------------------------------
diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb
index 205637c2ae3..7c6f82014b2 100644
--- a/app/views/layouts/application.html.erb
+++ b/app/views/layouts/application.html.erb
@@ -98,9 +98,6 @@
<section id='main'>
</section>
- <div id='offscreen-content'>
- </div>
-
<% unless current_user %>
<form id='hidden-login-form' method="post" action="<%=main_app.login_path%>" style="display: none;">
<input name="username" type="text" id="signin_username">