summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authorsadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-01 16:30:51 +0000
committersadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-01 16:30:51 +0000
commitc1c03c28bec18b01ff55e7461b895ad4b7852af2 (patch)
tree7ab8bc3b3548f878d785eaaa7d6f07cd63c671c7 /chrome
parent2573b8d3757a212c949412d344cfe568b3a2fe9e (diff)
downloadchromium_src-c1c03c28bec18b01ff55e7461b895ad4b7852af2.zip
chromium_src-c1c03c28bec18b01ff55e7461b895ad4b7852af2.tar.gz
chromium_src-c1c03c28bec18b01ff55e7461b895ad4b7852af2.tar.bz2
Fix the options page for non-chromeos linux views build.
BUG=none TEST=none Review URL: http://codereview.chromium.org/6591031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76379 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/browser/resources/options/personal_options.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/resources/options/personal_options.js b/chrome/browser/resources/options/personal_options.js
index 8775ec0..2edbb5c 100644
--- a/chrome/browser/resources/options/personal_options.js
+++ b/chrome/browser/resources/options/personal_options.js
@@ -68,7 +68,7 @@ cr.define('options', function() {
chrome.send('coreOptionsUserMetricsAction', ['Import_ShowDlg']);
};
- if (navigator.platform.match(/linux|BSD/i)) {
+ if ($('themes-GTK-button')) {
$('themes-GTK-button').onclick = function(event) {
chrome.send('themesSetGTK');
};