mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/12080] Add classes to color palette table to identify it more easily.
PHPBB3-12080
This commit is contained in:
parent
9f923f2359
commit
5ef55d9e45
1 changed files with 2 additions and 1 deletions
|
@ -994,7 +994,8 @@ phpbb.colorPalette = function(dir, width, height) {
|
|||
numberList[3] = 'BF';
|
||||
numberList[4] = 'FF';
|
||||
|
||||
html += '<table style="width: auto;">';
|
||||
var table_class = (dir == 'h') ? 'horizontal-palette' : 'vertical-palette';
|
||||
html += '<table class="not-responsive colour-palette ' + table_class + '" style="width: auto;">';
|
||||
|
||||
for (r = 0; r < 5; r++) {
|
||||
if (dir == 'h') {
|
||||
|
|
Loading…
Add table
Reference in a new issue