From 0b919d09078606429a8d4bfdcc33706fa47d99b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Wed, 14 Nov 2012 10:56:32 -0800 Subject: [PATCH] Rename Palette classes. --- src/ui/Palette.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ui/Palette.js b/src/ui/Palette.js index 63d0be4b..419064f6 100644 --- a/src/ui/Palette.js +++ b/src/ui/Palette.js @@ -18,11 +18,11 @@ var Palette = this.Palette = Base.extend(Callback, /** @lends Palette# */{ _events: [ 'onChange' ], initialize: function(title, components, values) { - var parent = DomElement.find('.paperjs-palettes') + var parent = DomElement.find('.palettejs-panel') || DomElement.find('body').appendChild( - DomElement.create('div', { 'class': 'paperjs-palettes' })), + DomElement.create('div', { 'class': 'palettejs-panel' })), table = parent.appendChild( - DomElement.create('table', { 'class': 'paperjs-palette' })), + DomElement.create('table', { 'class': 'palettejs-pane' })), that = this; this._title = title; if (!values)