Commit ae2de626 authored by dbeam's avatar dbeam Committed by Commit bot

downloads: fix visual glitch in file link.

R=asanka@chromium.org
BUG=457154
TEST=visual (see bug)

Review URL: https://codereview.chromium.org/923873002

Cr-Commit-Position: refs/heads/master@{#316272}
parent cd060ba2
...@@ -690,9 +690,9 @@ Download.prototype.update = function(download) { ...@@ -690,9 +690,9 @@ Download.prototype.update = function(download) {
this.nodeFileName_.classList.remove('interrupted'); this.nodeFileName_.classList.remove('interrupted');
} }
showInline(this.nodeFileLink_, showInlineBlock(this.nodeFileLink_,
this.state_ == Download.States.COMPLETE && this.state_ == Download.States.COMPLETE &&
!this.fileExternallyRemoved_); !this.fileExternallyRemoved_);
// nodeFileName_ has to be inline-block to avoid the 'interaction' with // nodeFileName_ has to be inline-block to avoid the 'interaction' with
// nodeStatus_. If both are inline, it appears that their text contents // nodeStatus_. If both are inline, it appears that their text contents
// are merged before the bidi algorithm is applied leading to an // are merged before the bidi algorithm is applied leading to an
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment