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 641c2958e09ac5b1bc212cd366b1f28ba3cb147b..e325f3c02166e03c1bc21f2625fd51582a8769bd 100644 |
--- a/components/dom_distiller/core/javascript/dom_distiller_viewer.js |
+++ b/components/dom_distiller/core/javascript/dom_distiller_viewer.js |
@@ -40,15 +40,6 @@ function fillYouTubePlaceholders() { |
function showLoadingIndicator(isLastPage) { |
document.getElementById('loadingIndicator').className = |
isLastPage ? 'hidden' : 'visible'; |
- // This function will be one of the last things to occur when a page is |
- // loaded. This is temporarily used to signal print preview to generate |
- // a PDF. |
- if (isLastPage && typeof isPrintPreviewDistiller !== 'undefined' |
- && isPrintPreviewDistiller) { |
- setTimeout(function() { |
- window.location = window.location + "#loaded"; |
- }, 0); |
- } |
} |
// Sets the title. |