You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 15, 2021. It is now read-only.
I just started working with this awesome framework. I am literally just customising the example file (in which you have put this $generalTab->createOption( array( 'name' => __( 'Custom Javascript Code', 'nucreative' ), 'id' => 'custom_js', 'type' => 'code', 'desc' => __( 'If you want to add some additional Javascript code into your site, add them here and it will be included in the frontend header. No need to add <code>script</code> tags', 'nucreative' ), 'lang' => 'javascript', ) );
When I save this in the backend, the custom JS code works (I tried a simple console.log('test);) but this is also printed in the generated css file titan-framework-nucreative-css.css which makes the CSS file invalid.
I just started working with this awesome framework. I am literally just customising the example file (in which you have put this
$generalTab->createOption( array( 'name' => __( 'Custom Javascript Code', 'nucreative' ), 'id' => 'custom_js', 'type' => 'code', 'desc' => __( 'If you want to add some additional Javascript code into your site, add them here and it will be included in the frontend header. No need to add <code>script</code> tags', 'nucreative' ), 'lang' => 'javascript', ) );
When I save this in the backend, the custom JS code works (I tried a simple console.log('test);) but this is also printed in the generated css file titan-framework-nucreative-css.css which makes the CSS file invalid.
Is this an issue? How can I solve it?
Thanks
Ref: gambitph#337
The text was updated successfully, but these errors were encountered: