1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-04-21 08:12:17 +02:00

[ticket/12080] Add classes to color palette table to identify it more easily.

PHPBB3-12080
This commit is contained in:
Cesar G 2014-02-16 13:25:01 -08:00
parent 9f923f2359
commit 5ef55d9e45

View File

@ -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') {