From 679d5227b3d9639d7c69d655f39b4de688a5afbe Mon Sep 17 00:00:00 2001 From: Piotr Sarnacki Date: Wed, 9 Dec 2015 14:52:37 +0100 Subject: [PATCH] Don't reload a page after clicking on Travis CI's logo --- app/app.coffee | 4 ++++ app/templates/top.hbs | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/app/app.coffee b/app/app.coffee index 3c0e0168..7ca627e3 100644 --- a/app/app.coffee +++ b/app/app.coffee @@ -5,6 +5,10 @@ Ember.MODEL_FACTORY_INJECTIONS = true +Ember.LinkView.reopen( + attributeBindings: ['alt'] +); + App = Ember.Application.extend(Ember.Evented, LOG_TRANSITIONS: true LOG_TRANSITIONS_INTERNAL: true diff --git a/app/templates/top.hbs b/app/templates/top.hbs index 18749f23..162046da 100644 --- a/app/templates/top.hbs +++ b/app/templates/top.hbs @@ -1,5 +1,5 @@
-

Travis CI

+

{{#link-to "main" alt="Travis CI"}}Travis CI{{/link-to}}