diff --git a/mozilla/xpfe/components/prefwindow/resources/content/pref-themes.js b/mozilla/xpfe/components/prefwindow/resources/content/pref-themes.js index b8025096dcb..77617eac882 100644 --- a/mozilla/xpfe/components/prefwindow/resources/content/pref-themes.js +++ b/mozilla/xpfe/components/prefwindow/resources/content/pref-themes.js @@ -71,17 +71,3 @@ function themeSelect() } } -function restoreDefaults() -{ - var theSkinKids = document.getElementById("theSkinKids"); - if (theSkinKids.hasChildNodes()) { - var defaultTheme = theSkinKids.firstChild; - var tree = document.getElementById( "skinsTree" ); - var selectedSkinItem = tree.selectedItems[0]; - var skinName = selectedSkinItem.getAttribute( "name" ); - chromeRegistry.selectSkin( skinName, DEBUG_USE_PROFILE ); - chromeRegistry.refreshSkins(); - } -} - - \ No newline at end of file diff --git a/mozilla/xpfe/components/prefwindow/resources/content/pref-themes.xul b/mozilla/xpfe/components/prefwindow/resources/content/pref-themes.xul index e27445d6fbb..cf7e1a7fef1 100644 --- a/mozilla/xpfe/components/prefwindow/resources/content/pref-themes.xul +++ b/mozilla/xpfe/components/prefwindow/resources/content/pref-themes.xul @@ -92,9 +92,4 @@ - - -