Skip to content
This repository has been archived by the owner on Dec 6, 2022. It is now read-only.

Fix a few issues based on feedback from launch #5

Merged
merged 4 commits into from
May 23, 2013
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
dont remove tour-buttons when there are no buttons
  • Loading branch information
benogle committed May 23, 2013
commit d7809bee996b560aa486aeca75433f0e372a615c
2 changes: 1 addition & 1 deletion src/tip/base.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ class Tourist.Tip.Base
counter: if step.final then '' else "step #{step.index+1} of #{step.total}"
counter_class: if step.final then 'final' else ''
)))
content.find('.tour-buttons').remove() unless buttons
content.find('.tour-buttons').addClass('no-buttons') unless buttons

@_renderActionLabels(content)

Expand Down
Loading