| Index: components/dom_distiller/core/javascript/dom_distiller_viewer.js
|
| diff --git a/components/dom_distiller/core/javascript/dom_distiller_viewer.js b/components/dom_distiller/core/javascript/dom_distiller_viewer.js
|
| index bf114cf6c9ad14639da53c4fef3a71e2e56ad27c..f953414f028f055b849012a2330f92f1f680a242 100644
|
| --- a/components/dom_distiller/core/javascript/dom_distiller_viewer.js
|
| +++ b/components/dom_distiller/core/javascript/dom_distiller_viewer.js
|
| @@ -43,20 +43,12 @@ function showLoadingIndicator(isLastPage) {
|
| updateLoadingIndicator(isLastPage);
|
| }
|
|
|
| -// Sets the title. The title will be exposed with a simple animation. This
|
| -// should only be used when the title was not included in the initial html.
|
| +// Sets the title.
|
| function setTitle(title) {
|
| var holder = document.getElementById('titleHolder');
|
| - var collapse = document.getElementById('titleCollapse');
|
| -
|
| - collapse.style.height = "0px";
|
|
|
| holder.textContent = title;
|
| document.title = title;
|
| - var newHeight = Math.max(90, holder.getBoundingClientRect().height);
|
| -
|
| - collapse.style.transition = "height 0.2s";
|
| - collapse.style.height = newHeight + "px";
|
| }
|
|
|
| // Set the text direction of the document ('ltr', 'rtl', or 'auto').
|
|
|