BUGFIX: keeping noscript in DOM

This commit is contained in:
Sam 2014-06-17 11:01:48 +10:00
parent 68343c74c4
commit 1af8a2fb63
1 changed files with 2 additions and 0 deletions

View File

@ -116,6 +116,8 @@ window.Discourse = Ember.Application.createWithMixins(Discourse.Ajax, {
**/
start: function() {
$('noscript').remove();
// Load any ES6 initializers
Ember.keys(requirejs._eak_seen).forEach(function(key) {
if (/\/initializers\//.test(key)) {