spfjs icon indicating copy to clipboard operation
spfjs copied to clipboard

Link attribute "media" is not respected?

Open artemvd opened this issue 5 years ago • 0 comments

I'm not sure if it is not respected, maybe I am doing something wrong, but in HTML source I have something like this:

<link rel="stylesheet" media="print" href="styles.css" />

After SPF updates the page with dynamic navigation this link element has no media attribute and print styles are loaded and changing the page view completely.

Is there any way to preserve the media attribute? Or please point me to documentation how it should be done better.

Thank you in advance.

artemvd avatar Nov 27 '19 08:11 artemvd