diff options
-rw-r--r-- | web-ui/app/js/page/pix_logo.js | 2 | ||||
-rw-r--r-- | web-ui/test/spec/page/pix_logo.spec.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/web-ui/app/js/page/pix_logo.js b/web-ui/app/js/page/pix_logo.js index ad17f3be..920b7af5 100644 --- a/web-ui/app/js/page/pix_logo.js +++ b/web-ui/app/js/page/pix_logo.js @@ -55,7 +55,7 @@ define( this.on(document, events.ui.mail.open, this.triggerSpinLogo); this.on(document, events.dispatchers.rightPane.openDraft, this.triggerSpinLogo); this.on(document, events.search.perform, this.triggerSpinLogo); - this.on(document, events.mail.want, this.triggerStopSpinningLogo); + this.on(document, events.mail.display, this.triggerStopSpinningLogo); }); } } diff --git a/web-ui/test/spec/page/pix_logo.spec.js b/web-ui/test/spec/page/pix_logo.spec.js index 7363392d..5d07a544 100644 --- a/web-ui/test/spec/page/pix_logo.spec.js +++ b/web-ui/test/spec/page/pix_logo.spec.js @@ -69,7 +69,7 @@ describeComponent('page/pix_logo', function () { it('should stop spinning after mail message is loaded', function (done) { this.setupComponent('<polygon id="clock1" class="logo-part-animation-on"></polygon>'); var eventSpy = spyOnEvent(document, Pixelated.events.ui.page.stopSpinningLogo); - $(document).trigger(Pixelated.events.mail.want); + $(document).trigger(Pixelated.events.mail.display); var component = this.component; |