| Index: elements/viewer-toolbar/viewer-toolbar.html
|
| diff --git a/elements/viewer-toolbar/viewer-toolbar.html b/elements/viewer-toolbar/viewer-toolbar.html
|
| index 89fc69a08f61682e7bdb374c4aa95b6c9699c32e..70c66eb51afc60eff4231fe4c7afc31fd1551100 100644
|
| --- a/elements/viewer-toolbar/viewer-toolbar.html
|
| +++ b/elements/viewer-toolbar/viewer-toolbar.html
|
| @@ -23,10 +23,8 @@
|
| fadingInChanged: function() {
|
| if (this.fadingIn) {
|
| this.style.opacity = 1;
|
| - if (this.timerId !== undefined) {
|
| - clearTimeout(this.timerId);
|
| - this.timerId = undefined;
|
| - }
|
| + clearTimeout(this.timerId);
|
| + this.timerId = undefined;
|
| } else {
|
| if (this.timerId === undefined) {
|
| this.timerId = setTimeout(
|
|
|