aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/styles/prosilver/template/editor.js
diff options
context:
space:
mode:
authorVjacheslav Trushkin <cyberalien@gmail.com>2013-10-18 23:47:03 +0300
committerVjacheslav Trushkin <cyberalien@gmail.com>2013-10-18 23:47:03 +0300
commitea874c2ffbcd58720dc58e3f69e6c0b668bc95b9 (patch)
tree65aac9ce9723d50a4457f1304acc85411dffeb3c /phpBB/styles/prosilver/template/editor.js
parent12c34e4176a084ecf66da5015f3989ed7a1e2e25 (diff)
downloadforums-ea874c2ffbcd58720dc58e3f69e6c0b668bc95b9.tar
forums-ea874c2ffbcd58720dc58e3f69e6c0b668bc95b9.tar.gz
forums-ea874c2ffbcd58720dc58e3f69e6c0b668bc95b9.tar.bz2
forums-ea874c2ffbcd58720dc58e3f69e6c0b668bc95b9.tar.xz
forums-ea874c2ffbcd58720dc58e3f69e6c0b668bc95b9.zip
[ticket/11552] Responsive forms
PHPBB3-11552
Diffstat (limited to 'phpBB/styles/prosilver/template/editor.js')
-rw-r--r--phpBB/styles/prosilver/template/editor.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/styles/prosilver/template/editor.js b/phpBB/styles/prosilver/template/editor.js
index 4c70ee345f..eac958b4ee 100644
--- a/phpBB/styles/prosilver/template/editor.js
+++ b/phpBB/styles/prosilver/template/editor.js
@@ -325,7 +325,7 @@ function colorPalette(dir, width, height) {
for (b = 0; b < 5; b++) {
color = String(numberList[r]) + String(numberList[g]) + String(numberList[b]);
- html += '<td bgcolor="#' + color + '" style="width: ' + width + 'px; height: ' + height + 'px;">';
+ html += '<td style="background-color: #' + color + '; width: ' + width + 'px; height: ' + height + 'px;">';
html += '<a href="#" onclick="bbfontstyle(\'[color=#' + color + ']\', \'[/color]\'); return false;" style="display: block; width: ' + width + 'px; height: ' + height + 'px; " alt="#' + color + '" title="#' + color + '"></a>';
html += '</td>';
}