Index: chrome/browser/resources/pdf/index.js |
diff --git a/chrome/browser/resources/pdf/index.js b/chrome/browser/resources/pdf/index.js |
index 1edc89c7e7dcf57504b2328b35b501dccb26ff57..c610a1438a34ecf27e82476ba1a38389900e7c39 100644 |
--- a/chrome/browser/resources/pdf/index.js |
+++ b/chrome/browser/resources/pdf/index.js |
@@ -390,7 +390,7 @@ Polymer={},"function"==typeof window.Polymer&&(Polymer={}),function(a){function |
Polymer('viewer-toolbar', { |
fadingIn: false, |
timerId: undefined, |
- inInitialFade: false, |
+ inInitialFadeIn: false, |
ready: function() { |
this.parentNode.addEventListener('mousemove', function(e) { |
var rect = this.getBoundingClientRect(); |
@@ -398,17 +398,17 @@ Polymer={},"function"==typeof window.Polymer&&(Polymer={}),function(a){function |
e.clientY >= rect.top && e.clientY <= rect.bottom) { |
this.fadingIn = true; |
// If we hover over the toolbar, cancel the initial fade in. |
- if (this.inInitialFade) |
- this.inInitialFade = false; |
+ if (this.inInitialFadeIn) |
+ this.inInitialFadeIn = false; |
} else { |
// Initially we want to keep the toolbar up for a longer period. |
- if (!this.inInitialFade) |
+ if (!this.inInitialFadeIn) |
this.fadingIn = false; |
} |
}.bind(this)); |
}, |
initialFadeIn: function() { |
- this.inInitialFade = true; |
+ this.inInitialFadeIn = true; |
this.fadeIn(); |
this.fadeOutAfterDelay(6000); |
}, |
@@ -430,7 +430,7 @@ Polymer={},"function"==typeof window.Polymer&&(Polymer={}),function(a){function |
function() { |
this.style.opacity = 0; |
this.timerId = undefined; |
- this.inInitialFade = false; |
+ this.inInitialFadeIn = false; |
}.bind(this), delay); |
} |
}); |
@@ -475,7 +475,6 @@ Polymer={},"function"==typeof window.Polymer&&(Polymer={}),function(a){function |
window.addEventListener('scroll', function() { |
requestAnimationFrame(callback); |
}); |
- this.fadeIn(); |
}, |
initialFadeIn: function() { |
this.fadeIn(6000); |