Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9ec7d5152e | ||
|
|
a677e627a8 |
@@ -44,7 +44,7 @@
|
||||
btn.className = 'theme-card';
|
||||
btn.setAttribute('aria-pressed', current === t.id ? 'true' : 'false');
|
||||
btn.innerHTML = '<strong>' + t.name + '</strong>' +
|
||||
'<span class="swatches">' + t.colors.map(function (c) {
|
||||
'<span class="swatches">' + colors.map(function (c) {
|
||||
return '<span class="swatch" style="background:' + c + '"></span>';
|
||||
}).join('') + '</span>';
|
||||
btn.addEventListener('click', function () {
|
||||
|
||||
Reference in New Issue
Block a user