Skip to content
Snippets Groups Projects
Commit 53c833a2 authored by Alex ORLUC's avatar Alex ORLUC
Browse files

FIX #133 fix css signaturebook

parent b3f88df9
No related branches found
No related tags found
No related merge requests found
...@@ -69,6 +69,17 @@ export class SignatureBookComponent implements OnInit { ...@@ -69,6 +69,17 @@ export class SignatureBookComponent implements OnInit {
constructor(public http: HttpClient, private route: ActivatedRoute, private router: Router, private zone: NgZone) { constructor(public http: HttpClient, private route: ActivatedRoute, private router: Router, private zone: NgZone) {
$j("head style").remove();
if ($j("link[href='merged_css.php']").length == 0) {
var head = document.getElementsByTagName('head')[0];
var link = document.createElement('link');
link.rel = 'stylesheet';
link.href = 'merged_css.php';
link.type = 'text/css';
link.media = 'screen';
head.insertBefore(link,head.children[5])
}
window['angularSignatureBookComponent'] = { window['angularSignatureBookComponent'] = {
componentAfterAttach: (value: string) => this.processAfterAttach(value), componentAfterAttach: (value: string) => this.processAfterAttach(value),
componentAfterAction: () => this.processAfterAction(), componentAfterAction: () => this.processAfterAction(),
......
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