summaryrefslogtreecommitdiff
path: root/modules/color
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-04-28 20:25:22 +0000
committerDries Buytaert <dries@buytaert.net>2010-04-28 20:25:22 +0000
commit0b61ecfe3ae40cfb7065640a01756714c512ecdf (patch)
treedb40863d2ef7c4d64061db311b09cf36f8ab2e4b /modules/color
parent01eb7bff732b65228caea2238e0520bc15c3e69d (diff)
downloadbrdo-0b61ecfe3ae40cfb7065640a01756714c512ecdf.tar.gz
brdo-0b61ecfe3ae40cfb7065640a01756714c512ecdf.tar.bz2
- Patch #782056 by aspilicious: removing every tab + trailing white space in core.
Diffstat (limited to 'modules/color')
-rw-r--r--modules/color/preview.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/color/preview.js b/modules/color/preview.js
index 814a2d20d..719b9b859 100644
--- a/modules/color/preview.js
+++ b/modules/color/preview.js
@@ -2,14 +2,14 @@
(function ($) {
Drupal.color = {
- callback: function(context, settings, form, farb, height, width) {
+ callback: function(context, settings, form, farb, height, width) {
// Solid background.
$('#preview', form).css('backgroundColor', $('#palette input[name="palette[base]"]', form).val());
-
+
// Text preview
$('#text', form).css('color', $('#palette input[name="palette[text]"]', form).val());
$('#text a, #text h2', form).css('color', $('#palette input[name="palette[link]"]', form).val());
-
+
// Set up gradients if there are some.
var color_start, color_end;
for (i in settings.gradients) {
@@ -32,4 +32,4 @@
}
}
};
-})(jQuery); \ No newline at end of file
+})(jQuery);