reappending colorPicker

Reappending on focus gets colorPicker to foreground
pull/16/head
peterd 10 years ago
parent aa84f06639
commit 5be71259ae

@ -82,6 +82,7 @@
colorPicker.saveAsBackground(); colorPicker.saveAsBackground();
} }
colorPickers.current = colorPickers[index]; colorPickers.current = colorPickers[index];
$(options.appenTo || document.body).append($colorPicker);
$colorPicker.show(colorPicker.color.options.animationSpeed); $colorPicker.show(colorPicker.color.options.animationSpeed);
}); });
@ -104,7 +105,7 @@
// $(document.body).append(isColorPicker); // $(document.body).append(isColorPicker);
} }
} else if (inputIndex !== -1) { } else if (inputIndex !== -1) {
// input field // input fireld
} else { } else {
$colorPicker.hide(animationSpeed); $colorPicker.hide(animationSpeed);
} }

Loading…
Cancel
Save