aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/assets/javascript
diff options
context:
space:
mode:
authorCallum Macrae <callum@macr.ae>2015-05-30 14:55:42 +0200
committerCallum Macrae <callum@macr.ae>2015-05-30 14:55:42 +0200
commita39a421acb3d0e2c6b8d8f20974e90ea3625b065 (patch)
tree34f2db8212ac1b333f507a21f85079719626b53d /phpBB/assets/javascript
parentbafd649eea74daa85799858e2406d5b6bdcb080b (diff)
downloadforums-a39a421acb3d0e2c6b8d8f20974e90ea3625b065.tar
forums-a39a421acb3d0e2c6b8d8f20974e90ea3625b065.tar.gz
forums-a39a421acb3d0e2c6b8d8f20974e90ea3625b065.tar.bz2
forums-a39a421acb3d0e2c6b8d8f20974e90ea3625b065.tar.xz
forums-a39a421acb3d0e2c6b8d8f20974e90ea3625b065.zip
[ticket/13898] Allow underscores :(
PHPBB3-13898
Diffstat (limited to 'phpBB/assets/javascript')
-rw-r--r--phpBB/assets/javascript/core.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/assets/javascript/core.js b/phpBB/assets/javascript/core.js
index efa6ecbc74..5709941286 100644
--- a/phpBB/assets/javascript/core.js
+++ b/phpBB/assets/javascript/core.js
@@ -1439,9 +1439,9 @@ phpbb.colorPalette = function(dir, width, height) {
for (b = 0; b < 5; b++) {
color = '' + numberList[r] + numberList[g] + numberList[b];
- html += '<td style="background-color: #' + color + '; width: ' + width + 'px; height: ' + height + 'px;">';
- html += '<a href="#" data-color="' + color + '" style="display: block; width: ' + width + 'px; height: ' +
- height + 'px; " alt="#' + color + '" title="#' + color + '"></a>';
+ html += '<td style="background-color: #' + color + '; width: ' + width + 'px; height: ' +
+ height + 'px;"><a href="#" data-color="' + color + '" style="display: block; width: ' +
+ width + 'px; height: ' + height + 'px; " alt="#' + color + '" title="#' + color + '"></a>';
html += '</td>';
}