Closed WanderZ closed 8 years ago
Just put it before or after the body?
Sorry, neither worked.
i tried both
<noscript>Message here</noscript>
and
<div id="noscript">Message here</div>
ng-cloak
uses css property display
to hide elements. https://github.com/angular/angular.js/blob/master/css/angular.css#L3-L7
Can't you override display
property for id noscript
with some thing like this ?
#noscript {
display: block !important;
}
Pardon for the delay, the CSS property did not help when JavaScript is disabled.
It will, however, create a flicker when JavaScript is not disabled. (on first page load)
Perhaps what is happening is that the text is appearing behind the blank navbar.
If I put the following at the end of layout.server.view.html, after the final
I would like to clarify where would should the
<noscript>
tag/text/content be at?e.g.
<noscript>Please enable javascript to use this application</noscript>
Problem is that the entire body is of class
ng-cloak
and I didn't want users to be looking at a completely blank screen.Sorry if this question is unrelated or irrelevant to the development