Skip to content

Commit

Permalink
moved counter to first tab
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitaly Puzrin committed Apr 16, 2012
1 parent b4ddb73 commit b563264
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion client/fontomas/ui/wizard/steps.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ module.exports = Backbone.View.extend({

this.$preview_tab = this.$('a[href="#preview"]');
this.$result_tab = this.$('a[href="#result"]');
this.$glyphs_count = this.$('a[href="#result"] #selected-glyphs-count');
this.$glyphs_count = this.$('#selected-glyphs-count');

// disable click handler of tabs plugin on preview and result tabs
this.$result_tab.add(this.$preview_tab).on('click', stopPropagation);
Expand Down
4 changes: 2 additions & 2 deletions views/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ <h1 class="brand">Fontello - iconic fonts scissors</h1>
<div class="container">

<ul class="nav nav-pills page-header span12" id="wizard-steps">
<li><a data-toggle="tab" href="#selector">1. Select</a></li>
<li><a data-toggle="tab" href="#selector">1. Select <small>(<span id="selected-glyphs-count">0</span>)</small></a></li>
<li><a class="disabled" data-toggle="tab" href="#preview">2. Preview</a></li>
<li><a class="disabled" data-toggle="tab" href="#result">3. Download <small>(<span id="selected-glyphs-count">0</span>)</small></a></li>
<li><a class="disabled" data-toggle="tab" href="#result">3. Download</a></li>
<li><a data-toggle="tab" href="#donate">4. Donate :)</a></li>
</ul>

Expand Down

0 comments on commit b563264

Please sign in to comment.