Skip to content

Commit

Permalink
[fix bug 1121733] Tabs missing from /firefox/tips pages
Browse files Browse the repository at this point in the history
  • Loading branch information
alexgibson committed Jan 15, 2015
1 parent 75eab2e commit 3b032f0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions bedrock/firefox/templates/firefox/desktop/tips.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ <h2>{{ _('5 top tips, tricks and time-saving tools') }}</h2>
</div>
</div>

<div id="share-nav-wrapper" class="share-wrapper">
<div id="main-nav-wrapper" class="button-wrapper">
{% include 'firefox/includes/social-share.html' %}
<nav id="tips-nav-direct">
<ol role="tablist">
Expand Down Expand Up @@ -249,7 +249,7 @@ <h3>{{ _('Congratulations') }}</h3>
{{ _('You’re an expert!') }}
{{ _('Now help your friends master Firefox.') }}
</p>
<div class="share-wrapper">
<div class="button-wrapper">
{% include 'firefox/includes/social-share.html' %}
</div>
</div>
Expand Down
6 changes: 3 additions & 3 deletions media/css/firefox/desktop/tips.less
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@
}
}

#share-nav-wrapper {
#main-nav-wrapper {
.clearfix();

.socialshare {
Expand Down Expand Up @@ -413,7 +413,7 @@ html[dir='rtl'] {
margin-left: @baseLine;
}

#share-nav-wrapper .socialshare {
#main-nav-wrapper .socialshare {
float: right;
}

Expand Down Expand Up @@ -505,7 +505,7 @@ html[dir='rtl'] {
.font-size(22px);
}

#share-nav-wrapper {
#main-nav-wrapper {
margin: -20px 156px 0 0;

.socialshare {
Expand Down
2 changes: 1 addition & 1 deletion media/js/firefox/desktop/tips.js
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@
// GA tracking
$('.share-button').on('click', function() {
// determine position
var pos = ($(this).closest('.share-wrapper').prop('id') === 'share-nav-wrapper') ? 'top' : 'bottom';
var pos = ($(this).closest('.button-wrapper').prop('id') === 'main-nav-wrapper') ? 'top' : 'bottom';

gaTrack(['_trackEvent','/desktop/tips/ Interactions','Social Share', 'share drop-down ' + pos]);
});
Expand Down

0 comments on commit 3b032f0

Please sign in to comment.