aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCesar G <prototech91@gmail.com>2014-02-16 13:25:01 -0800
committerCesar G <prototech91@gmail.com>2014-02-16 13:25:43 -0800
commit5ef55d9e450c1e10f180427d8177deafee3e6567 (patch)
treed500ab3d31ed7b8fa80b8e361436dad7edebf8ce
parent9f923f235947b75260630234268d119179adda3e (diff)
downloadforums-5ef55d9e450c1e10f180427d8177deafee3e6567.tar
forums-5ef55d9e450c1e10f180427d8177deafee3e6567.tar.gz
forums-5ef55d9e450c1e10f180427d8177deafee3e6567.tar.bz2
forums-5ef55d9e450c1e10f180427d8177deafee3e6567.tar.xz
forums-5ef55d9e450c1e10f180427d8177deafee3e6567.zip
[ticket/12080] Add classes to color palette table to identify it more easily.
PHPBB3-12080
-rw-r--r--phpBB/assets/javascript/core.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/assets/javascript/core.js b/phpBB/assets/javascript/core.js
index 5b8331bdce..4657af90ab 100644
--- a/phpBB/assets/javascript/core.js
+++ b/phpBB/assets/javascript/core.js
@@ -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') {