-
Notifications
You must be signed in to change notification settings - Fork 2
Moved link to bootstrap.css to the init function #6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -29,6 +29,8 @@ function xxBootstrap_skin_init() | |
| jrCore_register_module_feature('jrCore','css','xxBootstrap','admin.css'); | ||
| jrCore_register_module_feature('jrCore','css','xxBootstrap','form.css'); | ||
| jrCore_register_module_feature('jrCore','css','xxBootstrap','profile.css'); | ||
| jrCore_register_module_feature('jrCore','css','xxBootstrap','bootstrap.css'); | ||
|
Owner
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Cant check it out now but im pretty sure there was a reason these were put in the header instead of here. Putting them in the location they are at in the header ensures that they are the last called so have higher priority. Will need to check it out to confirm.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The reset (which is normalize in BS3) needs to be called first, with everything else after it. Resetting after all module css will not work properly. |
||
| jrCore_register_module_feature('jrCore','css','xxBootstrap','bootstrap-theme.css'); | ||
|
|
||
| // Register our Javascript files with the core | ||
| jrCore_register_module_feature('jrCore','javascript','xxBootstrap','bootstrap.min.js'); | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wont this make it necessary to update any bootstrap.css files that come out. not just copy+paste?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, if you use the icons and are unable to override rules.