diff --git a/suite/common/pref/pref-colors.xul b/suite/common/pref/pref-colors.xul
index 5d7ec7c9bc8d..8b40b0f69dd3 100644
--- a/suite/common/pref/pref-colors.xul
+++ b/suite/common/pref/pref-colors.xul
@@ -31,20 +31,6 @@
-
- function setColorWell(menu)
- {
- // Find the colorWell and colorPicker in the hierarchy.
- var colorWell = menu.firstChild.nextSibling;
- var colorPicker = menu.firstChild.nextSibling.nextSibling.firstChild;
-
- // Extract color from colorPicker and assign to colorWell.
- var color = colorPicker.getAttribute('color');
- colorWell.style.backgroundColor = color;
- }
-
-
-