fixed color button in demo control sidebar

This commit is contained in:
REJack
2019-09-19 09:16:29 +02:00
parent 4454f712ff
commit 91840e0231

2
dist/js/demo.js vendored
View File

@@ -316,7 +316,7 @@
colors.map(function (color) {
var $color = $('<div />', {
'class': (typeof color === 'object' ? color.join(' ') : color) + ' elevation-2'
'class': (typeof color === 'object' ? color.join(' ') : color).replace('navbar-', 'bg-') + ' elevation-2'
})
$block.append($color)