remove premium templates

This commit is contained in:
Cetin Cakiroglu
2021-12-10 09:37:40 +03:00
parent 89b1bf58fa
commit b7372bb388
22 changed files with 35 additions and 45292 deletions

View File

@@ -23,17 +23,6 @@ export class AppConfigComponent implements OnInit{
constructor(public app: AppComponent, public appMain: AppMainComponent) {}
ngOnInit() { }
// TODO: TO BE REMOVED
// changeComponentTheme(theme) {
// this.componentColor = theme;
// const element = document.getElementById('theme-css');
// const urlTokens = element.getAttribute('href').split('/');
// urlTokens[urlTokens.length - 1] = 'theme-' + theme + '.css';
// const newURL = urlTokens.join('/');
// this.replaceLink(element, newURL);
// }
// TODO: TO BE REMOVED (MAYBE)
replaceLink(linkElement, href) {
if (this.isIE()) {
linkElement.setAttribute('href', href);