add empty href otherwise iOS does not fire a tap event correctly
This commit is contained in:
parent
069f7ddbeb
commit
2882c8ca96
|
@ -60,6 +60,7 @@ Object.defineProperty(Log.Limit.prototype, 'limited', {
|
|||
|
||||
export default Ember.Component.extend({
|
||||
popup: Ember.inject.service(),
|
||||
classNameBindings: ['logIsVisible:is-open'],
|
||||
logIsVisible: false,
|
||||
currentUserBinding: 'auth.currentUser',
|
||||
|
||||
|
@ -226,7 +227,5 @@ export default Ember.Component.extend({
|
|||
toggleLog() {
|
||||
this.toggleProperty('logIsVisible');
|
||||
}
|
||||
},
|
||||
|
||||
noop() {}
|
||||
}
|
||||
});
|
||||
|
|
|
@ -27,13 +27,13 @@
|
|||
{{#if job.notStarted}}
|
||||
<div class="log-notice">Hang tight, the log cannot be shown until the build has started.</div>
|
||||
{{else}}
|
||||
<a class="toggle-log-button {{if logIsVisible 'hidden'}}" title="Display the log" {{action "toggleLog"}}>
|
||||
<a href="#" class="toggle-log-button {{if logIsVisible 'hidden'}}" title="Display the log" {{action "toggleLog"}}>
|
||||
{{eye-icon}}
|
||||
<span class="label-align">View log</span></a>
|
||||
|
||||
<div class="log-main {{if logIsVisible 'is-visible'}} {{if job.notStarted 'hidden'}}">
|
||||
<div class="log-header">
|
||||
<a class="toggle-log-button--dark {{unless logIsVisible 'hidden'}}" title="Display the log" {{action "toggleLog"}}>{{eye-icon}}Hide log</a>
|
||||
<a href="#" class="toggle-log-button--dark {{unless logIsVisible 'hidden'}}" title="Display the log" {{action "toggleLog"}}>{{eye-icon}}Hide log</a>
|
||||
{{#if canRemoveLog}}
|
||||
<a class="remove-log-button open-popup" {{action "removeLogPopup"}} title="Remove the log">
|
||||
<span class="icon-remove-log" aria-hidden="true"></span>Remove log</a>
|
||||
|
|
Loading…
Reference in New Issue
Block a user