forked from ScoDoc/ScoDoc
change link to ref-competences.css
This commit is contained in:
parent
466daad0c0
commit
b349ff3d79
@ -14,11 +14,11 @@ class ref_competences extends HTMLElement {
|
||||
/* Style du module */
|
||||
const styles = document.createElement('link');
|
||||
styles.setAttribute('rel', 'stylesheet');
|
||||
if (location.href.split("/")[3] == "ScoDoc") {
|
||||
// if (location.href.split("/")[3] == "ScoDoc") {
|
||||
styles.setAttribute('href', '/ScoDoc/static/css/ref-competences.css');
|
||||
} else {
|
||||
styles.setAttribute('href', 'ref-competences.css');
|
||||
}
|
||||
// } else {
|
||||
// styles.setAttribute('href', 'ref-competences.css');
|
||||
// }
|
||||
|
||||
this.shadow.appendChild(styles);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user