Skip to content
Snippets Groups Projects
Verified Commit 5e704f54 authored by Alex ORLUC's avatar Alex ORLUC
Browse files

FIX #57 fix pos add css

parent 2aabcc1f
No related branches found
No related tags found
No related merge requests found
...@@ -65,14 +65,15 @@ export class ProfileComponent implements OnInit { ...@@ -65,14 +65,15 @@ export class ProfileComponent implements OnInit {
constructor(public http: HttpClient, private zone: NgZone, private notify: NotificationService) { constructor(public http: HttpClient, private zone: NgZone, private notify: NotificationService) {
var head = document.getElementsByTagName('head')[0]; if ($j("link[href='merged_css.php']").length == 0) {
var link = document.createElement('link'); var head = document.getElementsByTagName('head')[0];
link.rel = 'stylesheet'; var link = document.createElement('link');
link.href = 'merged_css.php'; link.rel = 'stylesheet';
link.type = 'text/css'; link.href = 'merged_css.php';
link.media = 'screen'; link.type = 'text/css';
head.insertBefore(link,head.children[5]) link.media = 'screen';
head.insertBefore(link,head.children[5])
}
window['angularProfileComponent'] = { window['angularProfileComponent'] = {
componentAfterUpload: (base64Content: any) => this.processAfterUpload(base64Content), componentAfterUpload: (base64Content: any) => this.processAfterUpload(base64Content),
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment