Skip to content

Commit

Permalink
local var for showAnnotations
Browse files Browse the repository at this point in the history
  • Loading branch information
ashaw committed Sep 28, 2011
1 parent bd0f4ac commit fa1610d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/javascripts/DV/helpers/construction.js
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ _.extend(DV.Schema.helpers, {
}

// Hide the Documents tab if it's the only tab left.
if (!this.showAnnotations() && !showPages && !showSearch) {
if (!showAnnotations && !showPages && !showSearch) {
this.viewer.$('.DV-views').hide();
}

Expand Down

0 comments on commit fa1610d

Please sign in to comment.