Skip to content

Commit

Permalink
Fixed #1213 - previous fix did not work if theme was not set at all
Browse files Browse the repository at this point in the history
This happens with very old projects (in this case 2015)
  • Loading branch information
torinfo committed May 4, 2023
1 parent 3167436 commit 7aef689
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -757,6 +757,7 @@ function x_getThemeInfo(thisTheme, themeChg) {
// some older themes use images for interface buttons (not FontAwesome icons) - it's only these themes that can fall back to use the defaultFA (all others should have FA icons set in theme)
// these themes should have imgbtns: true in the theme info file
if (thisTheme == undefined || thisTheme == "default") {
x_params.theme = "default";
x_setUpThemeBtns({ imgbtns: 'true' }, themeChg);

} else {
Expand Down

0 comments on commit 7aef689

Please sign in to comment.