We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22b0b50 commit c0d14b0Copy full SHA for c0d14b0
src/common/sb.component.ts
@@ -295,6 +295,7 @@ export class SBController {
295
return;
296
} else {
297
localStorage.setItem('ej2-ng-switch', targetId);
298
+ localStorage.setItem('ej2-theme', location.hash.split('/')[1]);
299
location.reload();
300
}
301
@@ -458,6 +459,7 @@ export class SBController {
458
459
themeName = themeName.toLowerCase();
460
themeName = (themes.indexOf(themeName) !== -1) ? themeName : 'material';
461
localStorage.setItem('ej2-theme', themeName);
462
+ localStorage.setItem('ej2-ng-switch', select('.switcher .active').id);
463
464
465
closeThemeSelection(): void {
0 commit comments