Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(88)

Unified Diff: chrome/browser/resources/options/chromeos/change_picture_options.js

Issue 1533123002: Fix visibility of flip icon for camera images (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/resources/options/chromeos/change_picture_options.css ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/options/chromeos/change_picture_options.js
diff --git a/chrome/browser/resources/options/chromeos/change_picture_options.js b/chrome/browser/resources/options/chromeos/change_picture_options.js
index de6670a4c7b9c90c2c584c5d398c95278d43cda0..e919a6c22699a0f0583fdf066b0f83a992ff7512 100644
--- a/chrome/browser/resources/options/chromeos/change_picture_options.js
+++ b/chrome/browser/resources/options/chromeos/change_picture_options.js
@@ -204,8 +204,8 @@ cr.define('options', function() {
var url = imageGrid.selectedItemUrl;
// Flip button available only for camera picture.
- imageGrid.flipPhotoElement.tabIndex =
- imageGrid.selectionType == 'camera' ? 1 : -1;
+ imageGrid.flipPhotoElement.hidden =
+ imageGrid.selectionType != 'camera';
// Ignore selection change caused by program itself and selection of one
// of the action buttons.
if (!imageGrid.inProgramSelection &&
« no previous file with comments | « chrome/browser/resources/options/chromeos/change_picture_options.css ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698