Skip to content

Commit

Permalink
Fix view.setShowMoveColorization()
Browse files Browse the repository at this point in the history
  • Loading branch information
yishn committed Mar 8, 2017
1 parent 16202d4 commit 2e180c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion browser/view.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ exports.getShowMoveColorization = function() {
return $('#goban').hasClass('movecolorization')
}

exports.getShowMoveColorization = function(show) {
exports.setShowMoveColorization = function(show) {
$('#goban').toggleClass('movecolorization', show)
setting.set('view.show_move_colorization', show)
}
Expand Down

0 comments on commit 2e180c7

Please sign in to comment.