Don't reload a page after clicking on Travis CI's logo

This commit is contained in:
Piotr Sarnacki 2015-12-09 14:52:37 +01:00
parent 6ad07924d3
commit 679d5227b3
2 changed files with 5 additions and 1 deletions

View File

@ -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

View File

@ -1,5 +1,5 @@
<div class="topbar {{if is-open 'has-autoheight'}} {{if showBroadcasts 'has-autoheight'}}">
<h1 id="logo" class="logo"><a href="/" alt="Travis CI">Travis CI</a></h1>
<h1 id="logo" class="logo">{{#link-to "main" alt="Travis CI"}}Travis CI{{/link-to}}</h1>
<div class="navigation-toggle">
<button type="button" id="tofuburger" class="tofuburger" {{action 'toggleBurgerMenu'}}>Toggle Menu</button>