Skip to content

Commit

Permalink
Merge pull request tiff#64 from mixonic/fix_html_view
Browse files Browse the repository at this point in the history
Fix html view swap
  • Loading branch information
tiff committed May 18, 2012
2 parents 0eaa3f6 + be18b48 commit 253967b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/toolbar/toolbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@
action = actionMapping[i];

if (action.name === "change_view") {
action.state = this.editor.currentView === editor.textarea;
action.state = this.editor.currentView === this.editor.textarea;
if (action.state) {
dom.addClass(action.link, CLASS_NAME_ACTION_ACTIVE);
} else {
Expand Down

0 comments on commit 253967b

Please sign in to comment.