Rails bug report: defaultThemeMode and jstree images
Hello, found two issues in the Rails starter app for Metronic 8.1.7 with the initial default theme and then with jstree.
First, app/views/partials/theme-mode/_init.html.erb has a typo that causes formatting issues until the light, dark, or system theme is selected by the user.
Line 3 of the file is currently set to:
var defaultThemeMode = "{% getModeDefault %}";
but needs to be set to:
var defaultThemeMode = "<%= getModeDefault() %>";
Second, the jstree plugin uses four .png and two .gif files, but the current CSS file doesn't point to those files correctly.
For example, in lib/assets/plugins/custom/jstree/jstree.bundle.css:
#jstree-dnd.jstree-dnd-responsive > .jstree-ok {
background-image: url("images/jstree/40px.png");
background-position: 0 -200px;
background-size: 120px 240px;
} As a quick fix, I pointed to the CDN versions, but I'm sure there's a better way to fix this.
For example:
#jstree-dnd.jstree-dnd-responsive > .jstree-ok {
background-image: url("
background-position: 0 -200px;
background-size: 120px 240px;
} Replies (3)
The Minecraft APK Download gives players complete control over their installation process, allowing them to choose exactly which version of the game they want to install based on their device's specifications and personal gaming preferences.
Hi Ian Adams,
Thank you for your feedback. Appreciate your help with suggested fixes. We will include the fix as soon as possible.
Thanks
The corrected line should read:
var defaultThemeMode = "< %= getModeDefault() % >";
(remove the space between the < and %)