diff options
author | Jakub Senko <jakubsenko@gmail.com> | 2018-02-18 16:44:05 +0100 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2019-05-09 18:26:30 +0200 |
commit | 62e609c10c4475846bb61400872e727ecb99cbc4 (patch) | |
tree | 7376886e4c448339bb09e34e5d96f88ed8a018bd /phpBB/assets | |
parent | 7e96098e2999e6b95fb3affbbb3991028ccf818e (diff) | |
download | forums-62e609c10c4475846bb61400872e727ecb99cbc4.tar forums-62e609c10c4475846bb61400872e727ecb99cbc4.tar.gz forums-62e609c10c4475846bb61400872e727ecb99cbc4.tar.bz2 forums-62e609c10c4475846bb61400872e727ecb99cbc4.tar.xz forums-62e609c10c4475846bb61400872e727ecb99cbc4.zip |
[ticket/15522] Improve color palette syntax
PHPBB3-15522
Diffstat (limited to 'phpBB/assets')
-rw-r--r-- | phpBB/assets/javascript/core.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/assets/javascript/core.js b/phpBB/assets/javascript/core.js index 5218a8c1be..2ce20a3b1a 100644 --- a/phpBB/assets/javascript/core.js +++ b/phpBB/assets/javascript/core.js @@ -1492,7 +1492,7 @@ phpbb.colorPalette = function(dir, width, height) { * @param {jQuery} el jQuery object for the palette container. */ phpbb.registerPalette = function(el) { - var orientation = el.attr('data-orientation'), + var orientation = el.attr('data-color-palette'), height = el.attr('data-height'), width = el.attr('data-width'), target = el.attr('data-target'), @@ -1662,7 +1662,7 @@ $(function() { phpbb.registerPageDropdowns(); - $('[data-orientation]').each(function() { + $('[data-color-palette]').each(function() { phpbb.registerPalette($(this)); }); |