mirror of
https://github.com/discourse/discourse.git
synced 2025-05-24 01:21:23 +08:00
BUGFIX: keeping noscript in DOM
This commit is contained in:
@ -116,6 +116,8 @@ window.Discourse = Ember.Application.createWithMixins(Discourse.Ajax, {
|
|||||||
**/
|
**/
|
||||||
start: function() {
|
start: function() {
|
||||||
|
|
||||||
|
$('noscript').remove();
|
||||||
|
|
||||||
// Load any ES6 initializers
|
// Load any ES6 initializers
|
||||||
Ember.keys(requirejs._eak_seen).forEach(function(key) {
|
Ember.keys(requirejs._eak_seen).forEach(function(key) {
|
||||||
if (/\/initializers\//.test(key)) {
|
if (/\/initializers\//.test(key)) {
|
||||||
|
Reference in New Issue
Block a user