diff options
author | Vjacheslav Trushkin <cyberalien@gmail.com> | 2013-04-12 16:42:36 +0300 |
---|---|---|
committer | Vjacheslav Trushkin <cyberalien@gmail.com> | 2013-04-12 16:42:36 +0300 |
commit | 2387e7eb4122ebc7ecd87bd709d6d661535b2ae2 (patch) | |
tree | dc4625f67b10f3ce72d10b15462a70385246dbda /phpBB/styles | |
parent | fafbce8124e27448164a0a68ef5a8420114309ad (diff) | |
download | forums-2387e7eb4122ebc7ecd87bd709d6d661535b2ae2.tar forums-2387e7eb4122ebc7ecd87bd709d6d661535b2ae2.tar.gz forums-2387e7eb4122ebc7ecd87bd709d6d661535b2ae2.tar.bz2 forums-2387e7eb4122ebc7ecd87bd709d6d661535b2ae2.tar.xz forums-2387e7eb4122ebc7ecd87bd709d6d661535b2ae2.zip |
[ticket/11275] Do not use spacer.gif in color picker
PHPBB3-11275
Diffstat (limited to 'phpBB/styles')
-rw-r--r-- | phpBB/styles/prosilver/template/editor.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/styles/prosilver/template/editor.js b/phpBB/styles/prosilver/template/editor.js index 9e5665de99..0a749347ad 100644 --- a/phpBB/styles/prosilver/template/editor.js +++ b/phpBB/styles/prosilver/template/editor.js @@ -326,7 +326,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 += '<a href="#" onclick="bbfontstyle(\'[color=#' + color + ']\', \'[/color]\'); return false;"><img src="images/spacer.gif" width="' + width + '" height="' + height + '" alt="#' + color + '" title="#' + color + '" /></a>'; + 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>'; } @@ -346,7 +346,7 @@ function colorPalette(dir, width, height) { (function($) { $(document).ready(function() { $('#color_palette_placeholder').each(function() { - $(this).html(colorPalette('h', 15, 10)); + $(this).html(colorPalette('h', 15, 12)); }); }); })(jQuery); |