AddJsFile Doesnt Work With ifBrowser

Nov 13, 2011 at 4:56 PM

Tested in release 2.2.2 on DNN 6.0.2 CE

I've been trying to get rid of conditional statements in my skin file and tried adding a js file:

<fortyfingers:stylehelper ID="stylehelper2" ifBrowser="IE<9" AddJsFile="[S]/js/html5.js" runat="server" />

When removing the browser attribute, the js file will load.

Nov 14, 2011 at 3:27 PM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.